views:

1165

answers:

3

How can I setup IIS 5.1 in Visual Studio 2008 as my web development server? I'm using Win XP, and I was using Cassini, but I want to give a tray to IIS instead of.

+3  A: 
  1. Go into Control Panel -> add remove programs -> enable / disable windows features, find IIS and install it.

  2. Go to Start -> Accessories -> Administrative tools -> IIS Manager

  3. Right click websites, add a new website, point the home directory to the root of your site.

  4. Open up localhost

  5. ????

  6. Profit!

You might have to attach Visual Studio to the ASP.NET worker process to debug.

Shawn Simon
+4  A: 

It's in the web project's property pages, under Web->Servers->"Use local IIS web server"

baretta
nice, didn't know about this one ;p
Shawn Simon
A: 

To attach Visual Studio to the ASP.NET worker proccess to debug go to menu Tools\Attach to Proccess or press CTRL + ALT + P and select aspnet_wp.exe or w3wp.exe.

More information here.

eKek0