What is difference between an app part and web part in sharepoint 2013 ? I only know apps load inside an iframe .


From a user perspective, there is no difference between web parts and app parts. Both add functionality to a SharePoint page.

Technically web parts run inside a SharePoint context, and as a consequence may make an entire page unresponsive if the web part fail to load. An App part run outside SharePoint context and displays its result in an iFrame. If an app part fails, the page is still loaded displaying other content.

| improve this answer | |
  • How do we create a connectable app parts ? – Nikhil J Apr 9 '14 at 0:34
  • @Nikhil I'm unfamiliar with the concept "connectable app part". What's its features? – Benny Skogberg Apr 9 '14 at 16:22
  • :) like connectable webparts in 2007/2010, do we have something like connectable app parts in 2013 ? – Nikhil J Apr 9 '14 at 16:25
  • @Nikhil Uh OK. I still don't know what they do, so I can't help you on this one. Sorry – Benny Skogberg Apr 9 '14 at 16:56

I can think of following differences between app parts and webparts:

  1. SharePoint Server Object Model code is not allowed in app parts (only client object model code is allowed) whereas web parts allow both Sever and Client object model code.
  2. App parts provide deployment isolation. However, deployment of web parts causes files to get deployed to 15 hive, dlls to GAC, safe control entries in web.config.
| improve this answer | |

one more difference i can think of is there is no OOB communication interface between App parts.

| improve this answer | |
  • Can you elloborate ? – Nikhil J Apr 9 '14 at 0:36

You can use the app part when you choose the App Application Model. Instead you can use the webpart when you use the sandbox or farm solution. In the last one choice your code run on the server. If you develop for Office 365, I recommend to use the App Application Model.

You can read more at http://go.limeleap.com/community/bid/256364/SharePoint-2013-s-App-Model-vs-SharePoint-Web-Parts

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.