. Net Framework 2.0 comes with a lightweight Web Server (Asp. net Development Server), it is strange that the specific command line usage method is not provided in msdn, So I specially sorted it out:
Execution file:Webdev. webserver. exe
Directory: C: \ WINDOWS \ Microsoft. NET \ framework \ v2.0.50727
Command Format:Webdev. Webserver[/Port:<Service port>]/Path:<Physical path> [/Vpath:<Virtual path>]
Command Parameter: <service port>-(optional) HTTP service port number. The default value is 80.
Command parameters:<Physical path>-Web ApplicationProgramRoot directory of the file system
Command parameters:<Virtual path>-(optional) URL virtual root directory of the Web application. The default value is "/"
application example: webdev.webserver.exe /Port: 8088 /path: "C: \ Inetpub \ wwwroot \ MyApp "/vpath: "/MyApp"
application example: Use http: // localhost: 8088/MyApp for browsing