Saturday, March 30, 2019

HTTPS with Visual Studio's built-in ASP.NET Development Server


You need to enable the SSL in the project by using the below steps:
  • Enable the SSL with in IIS Express, you have to just set “SSL Enabled = true” in the project properties window.
  • Then you can start your project with IIS Express normally and it will start using SSL, the new Port will be 44301
Note : https and http both ports are generally different. By default SSL enabled is set to false with IIS Express; so if you run your web application first time, you will only be able to find the default URL and you can access the site over http.

No comments: