Starting ASP.NET Development Server from a right click in explorer
**Update: **Following the comment of Jon Galloway
I know that there are other solutions doing this but I was just asked about how to do it today (hey Christine ;) and had this registry file stored somewhere for a while waiting for a blog post.
Save this to a file with an extension .reg, e.g. “asp.net web server here.reg”:
Windows Registry Editor Version 5.00
@=”ASP.NET 2.0 Web Server Here”
@=”C:\Windows\Microsoft.NET\Framework\v2.0.50727\Webdev.WebServer.exe /port:9081 /path:"%1"“
You might also change the port used to start the ASP.NET Development Server. If this option is not specified then the port 80 is used.
Then double click on the .reg file to save the settings in the registry.
Now you will have access to the following right click menu in explorer and you can browse your site without running Visual Studio:
Update: This is not needed anymore
You will need to copy hstart.exe to your C:\Windows\system32\ first, or change the path used in the .reg file. This little tool (3kb); Hidden start, by NTWind Software is really good for “small startup manager that allows console applications to be started without any windows in the background.”. Exactly what is need in our case.