Visual Studio comes with a development web server called webdev. webserver. The small server we automatically start when debugging ASP. NET projects.
In addition to debugging ASP. in addition to the. NET project, I will also add a right-click menu item on the registry named "Start web server here", so that the Web server can be started anytime, anywhere, to test ASP. netProgramIt is very convenient, no need to set IIS.
However, when the webdev server is started, the port is not automatically allocated immediately. Simply adding the right-click menu in the Registry can only fix the server port.
Therefore, a small program is used to indirectly start the webdev server and randomly allocate ports.
Download: webdevserver help. Zip
Download source code: webdevserver helper _source code .zip
Decompress the downloaded fileC: \ Program Files \ common files \ microsoft shared \ devserver \ 9.0Directory, and import the "Install webdev server assistant. Reg" Registry file.
After installation, you can right-click any folder and choose start web server from the menu.
Effect display: