Running VS websites as root

November 14, 2006 | In Development |

Visual Studio 2005 has it’s own built-in web server. This is great for us developers of many sites as it saves having to mess about with IIS.

The only down side is that VS does not run the site at “root” level, which makes its difficult to fully qualify static documents like CSS files and images. The best solution (I think) is provided on Scott Guthrie’s blog here.

Essentially you launch the built-in web server process separately on a localhost port such as 8080 (i.e. http://localhost:8080/), then set your website to launch on this server by default from the site options. Full details are on his blog.

Kind of obvious when you think about it :)

1 Comment

TrackBack URI

  1. […] wrote a short piece a while ago about the issues with running a Visual Studio website as root (see here), the solution being provided by a work around detailed by Scott Gu in his […]

    Pingback by cmb-web.co.uk » Running Visual Studio Websites as root - the solution — September 4, 2007 #

Sorry, the comment form is closed at this time.

Login | XFN| WP
Powered by WordPress with cmb-web Theme design by Christian Bridge-Harrington.
Blog feed. Valid XHTML and CSS. ^Top^