Webserver here, please

I’ve seen some blog posts with this already, but every time I reinstall my computer I have to google for it, so hopefully now it will be here, right at hand. Those registry hacks will display an entry in windows explorer context menu, to start local web development server (aka cassini) in target folder.

Visual Studio 2008 – X86 Windows

Windows Registry Editor Version 5.00 

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2008 WebServer]
@="ASP.NET Web Server Here"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2008 WebServer\command]
@="C:\\Program Files\\Common Files\\microsoft shared\\DevServer\\9.0\\
Webdev.WebServer.exe /port:8080 /path:\"%1\""

Visual Studio 2008 – X64 Windows

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2008 WebServer]
@="ASP.NET Web Server Here"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2008 WebServer\command]
@="C:\\Program Files (x86)\\Common Files\\microsoft shared\\DevServer\\9.0\\
Webdev.WebServer.exe /port:8080 /path:\"%1\""

Visual Studio 2010 – X86 Windows

Windows Registry Editor Version 5.00 

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2010 WebServer]
@="ASP.NET 4 Web Server Here" 

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2010 WebServer\command]
@="C:\\Program Files\\Common Files\\microsoft shared\\DevServer\\10.0\\
Webdev.WebServer40.exe /port:8081 /path:\"%1\""

Visual Studio 2010 – X64 Windows

Windows Registry Editor Version 5.00 

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2010 WebServer]
@="ASP.NET 4 Web Server Here" 

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\VS2010 WebServer\command]
@="C:\\Program Files (x86)\\Common Files\\microsoft shared\\DevServer\\10.0\\
Webdev.WebServer40.exe /port:8081 /path:\"%1\""

Share this post

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Send to twitter

Leave a Reply