I am working with SharePoint 2013 Enterprise on-premise and am new to provider hosted (self-hosted) Apps. I have multiple single server developer instances: myDev01, myDev02, myDev03, myDev05, etc. I have a single Hosted App server on the same domain as my dev instances that only myDev05 has been using running devapps.domain.com

I have the need to integrate this hosted app onto another development server myDev02

I am wondering if I need to setup a second hosted app server so that I can have sevapps02.rightviewweb.com or if I can set that web applicatoin up on the same hosted app server but just as a different web application.

I've ben able to deploy the .app file and add the web parts that the hosted app fills, but they show nothing so I'm thinking something is off regarding the hosted app server.

I need this setup as quickly as possible for a demo so that would be the priority.

Thanks!

有帮助吗?

解决方案 2

This will work. You need to use the same client id, secret issuerid, clientsigningcertificatepath and certificate. Basically, the information in the appSettings tag of the hosted app's web.config is referred to when setting up your trust on the other sharepoint farm. I'm doing this for a couple of development farms. Ideally each farm would have their own hosted app server but its not always possible, as in our case where the hosted app has a good bit of infrastructure behind it and duplicating that requires a good bit of effort and expense.

其他提示

You can use the same target server where the provider hosted addin code runs (i.e. an IIS box), but the app domain and configuration within the farm is unique on a per-farm basis.

许可以下: CC-BY-SA归因
scroll top