0

We know that we can create both SharePoint hosted app and high trust provider hosted app in on-prem i.e. non-cloud environment. But in which scenario we should for high trust provider hosted app and in which scenario we should go for SharePoint hosted app?

My question is not PHS vs SHA, rather Hightrust PHS vs SHA, when both can be deployed in non-cloud environment.

Is there any specific thumb rule for this choice?

0

The main difference between different types of apps lies in their hosting pattern. If you wanna have your hosting and app deployment in on-premise SharePoint 2013 server only, then you can go with SharePoint-Hosted Apps.

For your custom web parts , you can go with SharePoint hosted app in which case you have to create app-domain(using Power-shell) and add a app prefix in central admin & then register your app in app-domain.

Provider-hosted comes in two flavors viz a) High trust Provider-hosted app where you need to create a certificate for creating the trust between your remote web application and SharePoint server and then you can register and publish your app in SharePoint by creating Client ID & Client Secret b) Azure based Provider-hosted app where you will need a tenant account on windows azure portal (www.windowsazure.com) & SharePoint online account (you can have free account also for 30 days). Here , you can download the publish profile of azure website and import that while publishing your application. Just validate the connection with proper settings (Service URL , Destination URL etc) and your app will be hosted in Azure website.https://social.msdn.microsoft.com/Forums/officeapps/en-US/06c183eb-68bd-4f26-8696-bf3434105478/provider-hosted-apps-vs-sharepoint-hosted-apps?forum=appsforsharepoint

Also check this one Is there a difference between a Sharepoint Hosted App and a Cloud Hosted App?

  • My question is not PHS vs SHA, rather Hightrust PHS vs SHA, when both can be deployed in non-cloud environment. – user17251 Jul 27 '15 at 2:38
  • till now I haven't receive my answer. – user17251 Jul 28 '15 at 13:13

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.