Sharepoint Apps - Provider Hosted

11 September 0 Comments A+ a-

Setelah di artikel sebelumnya kita membuat Sharepoint Hosted App, kali ini kita akan coba untuk membuat Provider Hosted App. Apa bedanya dan configurasi awal apa yang kita butuhkan? please refer here. Get ready and you can create a Provider Hosted Apps as easy as one, two, three!


1. Buat Project Baru
Buka Visual Studio (Run as Administrator)
Create New Project 
> App for Sharepoint 2013


> Next > Provider Hosted

> Next > ASP.Net Web Form Application

> Next > Browse Certificate dan masukkan Issuer ID (refer here)


2. Visual Studio Configuration
Web.Config 
buka http://yourserver/_layouts/15/Appregnew.aspx
klik tombol generate pada field App Id, copy value yang tergenerate pada textbox dan paste di web.config serta appmanifest.xml


Web.Config

>AppManifest.xml


3. Deploy Solution
Klik kanan pada Solution > Deploy/Run
Browser akan terbuka > Login > Sharepoint Apps kita sudah jadi