You must select an app model to deploy apps to an Office 365 small business tenant. The business logic of the
apps is located in a remote web application.
What should you do?
A.
Create a SharePoint-hosted app. Implement the business logic by using JavaScript.
B.
Develop provider-hosted apps and integrate data sources with the business logic by using OData.
C.
Deploy the business logic to the host web by using a Full Trust SharePoint solution.
D.
Develop an OData service provider infrastructure and publish the provider to the _layouts directory.
Explanation:
Provider Hosted Application
Provider hosted apps are also a part of cloud hosting model, where app can be hosted on any remote web
platform such as IIS server. And these apps are made available on deploying it on cloud i.e. using SharePoint
online, Office365 site, or windows azure in case of Auto hosting.
It interacts with SharePoint 2013 by using one of the SharePoint client object models or its REST/OData-based
web service. Depending on the scenario it gains authorization to SharePoint data using either the SharePoint
2013 implementation of the OAuth standard or a JavaScript cross-domain library.
Note: Apps in SharePoint
SharePoint 2013 app model has three types of hosting model.
a. SharePoint Hosted Application.
b. Auto Hosted Application.
c. Provider Hosted Application.
Incorrect:
Not C: When you use the full-trust execution model, you deploy your assemblies to the global assembly cache
on each Web front-end server and application server in the server farm. The SharePoint Web application
process loads the assembly from the global assembly cache and your code runs with full trust–in other words, it
runs without any code access security restrictions.
Step by step create provider hosted application using SharePoint 2013