Sunday, August 17, 2014

Difference between SharePoint-hosted, auto-hosted and Provider-hosted apps in SharePoint 2013

In this post we will discuss about the different hosting option for apps in SharePoint 2013. There are 3 hosting options SharePoint hosting, provider hosting and azure auto hosting.

Also check out:

- Change local debugging URL in visual studio 2012 for SharePoint 2013

- Different authentication types supported in SharePoint 2013

- Create an Application Page in SharePoint 2013 using Visual Studio 2012

SharePoint hosted app:

This type of App lives inside SharePoint. There is not code running on the server. All code must run in the client. This will have .aspx page but lots of JavaScript code that will implement the logic via client side script and service calls.

Auto-hosted and Provider-hosted apps comes under cloud hosted app. These apps hosted outside of SharePoint server. Since its hosted outside of SharePoint server you have the freedom to develop an app using any language like PHP, Java or .Net. You can write server side code here which will communicate with SharePoint server. Here it will use OAuth protocol for authentication mechanism.

Provided hosted app enables developer to define its own infrastructure which may be a dedicated server or may be a cloud server provided by providers like Amazon.

Azure auto hosted app is available with Office 365. It contains a web project and a sql project. If you are a Office 365 customer and selected the azure autohosted deployment option, then it automatically wired up al the integration to Azure.


Twitter Delicious Facebook Digg Favorites More