For those of us too impatient to wait for a hotfix for Visual Studio to natively support IIS Express, I've done some digging and found a way to [fairly] easily setup a debugging environment for IIS Express and VS 2010 (should work for VS 2008 also, though!). This assumes you are at least an intermediate user of .NET/IIS and Visual Studio. PrerequisitesDownload and install WebMatrix beta. This download includes IIS Express (as of this posting, I did not find a standalone download of IIS Express).
Be using Visual Studio 2010 or 2008 and a web project to debug.
Steps to Setup IIS ExpressIt's actually quite simple to setup IIS express. Once WebMatrix is done installing, go to "My Documents\IISExpress8\config".
Right-click "applicationhost.config" and open in your favorite text editor. Go to line 145. Notice the <sites> element. This is where we can configure our website for IIS Express. Copy the site that is already there and add another entry below it.Remove the "autoStart" attribute for the first site. Read more: Intrepid Studio
Be using Visual Studio 2010 or 2008 and a web project to debug.
Steps to Setup IIS ExpressIt's actually quite simple to setup IIS express. Once WebMatrix is done installing, go to "My Documents\IISExpress8\config".
Right-click "applicationhost.config" and open in your favorite text editor. Go to line 145. Notice the <sites> element. This is where we can configure our website for IIS Express. Copy the site that is already there and add another entry below it.Remove the "autoStart" attribute for the first site. Read more: Intrepid Studio
0 comments:
Post a Comment