ASP. NET development server command line usage

Source: Internet
Author: User
. 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.