locked
SPA SSL RRS feed

  • Question

  • User1797195466 posted

    On MVC5, we can just turn on SSL for the application easily by setting SSL to true on VS under Project's Property.

    Publishing it to Azure and the site will then be using SSL.

    For SPA, there isn't such option on VS.  Any guideline for this?

    Monday, March 3, 2014 12:05 AM

All replies

  • User-1620313041 posted

    Each SPA is hosted in a standard HTML Page. It is enough to require SSL on that page (which you can do with the standard techniques you mentioned) to enable SSL on the whole SPA.

    Monday, March 3, 2014 5:05 AM
  • User1324782620 posted

    actually this depends on IIS,how you have configured the website. if you have enabled SSL at web site level then individual SPA pages will use that.

    Friday, May 2, 2014 1:54 AM
  • User1066278571 posted

    Here's an example how you could setup your IIS

    http://damienbod.wordpress.com/2014/04/16/iis-https-configuration-for-team-development/

    You can then configure your SPA to use this in DEBUG mode.

    greetings Damien

    Sunday, July 13, 2014 11:04 AM