VS publish and debug IIS program

1. Create a local IIS site

2. modify the configuration

.net framework

Right-click the project properties, modify the local server IIS, and modify the project URL corresponding to the site

.net core

Right attribute, enter the debug bar
to create a new configuration
options are as follows:
boot selection for IIS
settings URL

3. When installing IIS, the default installation option only if the check is not enough, release .net framework based site, will all kinds of error Solution: Windows Control Panel functions

 

Guess you like

Origin www.cnblogs.com/zhang1f/p/11086313.html