I am confuse in provider hosted app's publish folder.

My questions are :

  1. Can I publish provider hosted web application to any online server or I have to use only SharePoint online(Windows Azure) or Office 365 to publish my Web Application?
  2. If I can publish my web application project to any online server how can I get the Client Id and Client Secret for that?
  3. How can I create certificate for my app which I want to publish for SharePoint office app store?

Any suggestions? Thank you in advance...!

  • Down voters please do comment... – Rahul Gokani Feb 13 '14 at 5:53
  1. You can host your provider hosted web application either on Windows Azure or your own server. The definition of provider-hosted app its self tells that you bring your hosting infrastructure for your application. Well if you have Azure subscription use it or use your own hosting environment.

  2. Clint Id and Client Certificate are not obtained from the web application you are hosting it is obtained from "/_layouts/15/appregnew.aspx” your SharePoint site.

    Refer my blog for more details on provider-hosted app

  3. Sorry, I am not sure about obtaining certificate for windows store.

  • As you told me that any of the hosting environment, does that mean that I can publish my app to any of the .net server where my current asp.net site are hosted? – Rahul Gokani Feb 13 '14 at 5:55
  • I haven't tried hosting the web application in my hosting environment yet but I hosted the web app in windows Azure and it worked fine for me. Windows Azure is nothing but a kind of hosting server only right? I think then you have to go for S2S authentication rather than oAuth – Biju Joseph - MCSD Feb 13 '14 at 7:47
  • Ok.. Thank you for the answer... I will check for that. If you come to know any thing about that I can host web application to any server except Azure please let me know. It will really help full to me... Thank you again... – Rahul Gokani Feb 13 '14 at 13:19
  • Sure I will make it! – Biju Joseph - MCSD Feb 13 '14 at 13:34

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.