IIS Express & SSL
IIS Express is a version of IIS that is optimized for developers. This version does not provide all the features of IIS, but it is often sufficient to develop a web application.
IIS Express is used by default by Visual Studio to host sites during development. By default, the site uses the HTTP protocol. For some sites, it is necessary to use the HTTPS protocol (for example to use third-party resources). In order to use this protocol, you must activate it explicitly.
#Site ASP.NET
- Select the project in solution explorer
- Show the
Properties
pane (F4) - Set
SSL Enabled
totrue
- Use the url specified for
SSL URL
Enable SSL for an ASP.NET project
#Site ASP.NET Core
- Open the project properties
- Select the
Debug
tab - Check the box
Enable SSL
- 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!
Enjoy this blog?💖 Sponsor on GitHub