Launching ASP.NET Development Server Using Command Prompt

Introduction
  • The ASP.NET Development Server is installed as a part of the following products from the Microsoft
  • The ASP.NET Development Server runs automatically when you test a file-system Web site in the Visual Studio
  • The ASP.NET Development Server, which is included in the Visual Web Developer, is a Web server that runs locally on the Windows operating systems

Exe for ASP.net Development server.

Following the exe would launch the Asp.net development server.

WebDev.WebServer.EXE

This exe could be found at different locations in the machine.
  • C:\Windows\Microsoft.NET\Framework\v2.0.50727
  • C:\Program Files\Microsoft Shared\DevServer\9.0
  • C:\Program Files\Common Files\Microsoft Shared\DevServer\9.0
  • C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\9.0
  • C:\Program Files (x86)\Microsoft Shared\DevServer\9.0

Running ASP.net development server manually.

  • Open CMD
  • Go to C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0
  • Running WebDev.WebServer.EXE  /Path:”code path” /port:”port-number”
 
After running the above command, ASP.net development would launch as per the below screen



Conclusion
 
It is very easy to run the ASP.net development server using a CMD.
Ebook Download
View all
Learn
View all