by Syska
16. April 2010 01:57
I get some Web apps in compressed zip files. While its easy to unzip and map it to my local IIS server, its still a very doll job to do over and over again. So I was searching the web and came across ASP.NET 4 Web Server Here Shell Extension by Phil Haack.
A very simple shell extension starting the Cassini webserver on the selected folder:

And then just point you favorite browser at: http://localhost:8081/ or what ever port you used in the reg file.
I have attached both reg files for 32 & 64 bit.
32bit
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\""
64bit
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\""
Yes, the Formating is very bad, so to avoid any copy/paste errors, download the attached zip file.
Regs.zip (758.00 bytes)