What are the Three SharePoint 2013 App Deployment Models?
- SharePoint-hosted
- Self-Hosted
- Automatically Provisioned Azure Web Application
SharePoint Hosted Apps:
When the app is hosted in SharePoint itself, the code is only in HTML and JavaScript and is hosted by SharePoint.A SharePoint-hosted app may provision basic resources into its app web such as HTML/CSS/JS files, site column/content type/list definitions, etc.
Under no circumstances can server-side code run within a SharePoint-hosted app.
In the SharePoint-hosted deployment type model, a new isolated subweb known as app web is created under the parent site called the host web,for hosting app. The app web keeps all the app content such as lists, workflows, pages, out-of-webparts and so on.
The app code runs in the client browser which can use only HTML and JavaScript with CSOM / REST API and not any server side code.
Provider Host Apps:
In a provider-hosted app, you are responsible for the infrastructure (again, external to SharePoint) where your app runs. You have lots of flexibility in the sense that you can run full-blown server side code and even take advantage of frameworks like ASP.NET MVC
(or even use Java, PHP, or other non-Microsoft technologies as well), but you are also responsible for things like tenant isolation.
You or your app purchaser’s IT department must host a provider-hosted app on a dedicated server or third-party hosting service. Depending on your choice, these apps run either on your server or in the cloud. A provider-hosted app can also include SharePoint components that run in SharePoint, so it can be mixed in its hosting
The Provider-hosted deployment model is almost same as Auto-hosted model, the only difference is that the app code resides in an external domain or server i.e. your own hosting environment which may not be necessarily be windows-based. The app code can be written in any programming language and technology like PHP, .NET or Java.
In this scenario, SharePoint acts only as launching pad for the external app.
Auto-Hosted App:
In this cloud model, though the app is developed for SharePoint but the app code resides outside of the SharePoint on Microsoft Windows Azure in the background,
which can also have access to Microsoft SQL Azure database for managing data. The app is automatically deployed to Windows Azure and SharePoint creates a cloud-hosted app on your behalf. Auto-hosted model is supported on SharePoint Online only unlike the other deployment models.
No comments:
Post a Comment