Skip to content
Sergei Sergeev edited this page Dec 7, 2016 · 4 revisions

Use this wiki to learn how to configure different sample projects on your environment.

For Asp.Net MVC 5:

  • SPAddinOwin.Sample.UrlPath
  • SPAddinOwin.Sample.QueryString
  • SPAddinOwin.Sample.ADFS

Use right navigation menu to open configuration instruction for every type of the app.

SPAddinOwin.Sample.UrlPath

This is Asp.Net MVC 5 provider hosted application. It uses url path in order to store information about host url. For example instead of following url

https://localhost:44371/?SPHostUrl=https%3A%2F%2Fsp2013dev%2Fsites%2Fdev&SPLanguage=en-US&SPClientTag=0&SPProductNumber=15%2E0%2E4849%2E1000

you are having

https://localhost:44371/my-host-web/

Url path (my-host-web) is mapped to SPHostUrl inside database.

SPAddinOwin.Sample.QueryString

This project uses query string in order to maintaing host url.

SPAddinOwin.Sample.ADFS

Contains sample for configuring high-trust authentication with your corporate ADFS.

For Asp.Net Core (MVC 6):

  • SPAddin.Core.UrlPath

SPAddin.Core.UrlPath

This sample uses url path in order to store information about host url. It's similar to SPAddinOwin.Sample.UrlPath