Thursday, 5 July 2007

ASP.NET Internal Development Web Server Command Line Usage

Sometime it is useful to be able to start the ASP.NET Internal Web Server from a command line (especially with Web Application Projects and VB Websites)

This will allow you to start the web server from the command line, make your changes, build your changes, and reattach to the debugger.

Edit and Continue is lovely (but not if you want to change class definitions).

I've included and example call to start the Web Server below:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\WebDev.WebServer /port:4567 /path:"C:\Source\MyWebProject"

No comments: