IIS Express is a lightweight version of IIS optimized for developers. It does not include all IIS features, but it is sufficient for most web development scenarios.
Visual Studio uses IIS Express by default to host sites during development. By default, sites are served over HTTP. Some scenarios require HTTPS, for example when integrating third-party resources or testing secure features. To enable HTTPS, you must configure it explicitly.
#ASP.NET
- Select the project in Solution Explorer
- Open the
Properties pane (F4) - Set
SSL Enabled to true - Use the URL shown in the
SSL URL field
Enable SSL for an ASP.NET project
#ASP.NET Core
- Open the project properties
- Select the
Debug tab - Check the
Enable SSL box - Use the displayed URL
Enable SSL for an ASP.NET Core project
Do you have a question or a suggestion about this post? Contact me!