Restart IIS7 webapp for debug in VS2008

Posted by spender on Stack Overflow See other posts from Stack Overflow or by spender
Published on 2010-04-15T23:55:18Z Indexed on 2010/04/16 0:03 UTC
Read the original article Hit count: 365

I'm developing an ASP.NET asyc generic handler which uses a static System.Threading.Timer instance to feed data to the response output stream while the context is in the asynchronous phase.

I'm having issues at startup that I'd like to debug.

Currently, because of the long-lived nature of the timer, I'm manually killing w3wp.exe in order to cause the application to restart. I'm aware that there are other ways to do this, but this is the best workflow I can find!

Isn't there a way to force a cold start when I hit f5, instead of the standard VS approach of attaching to the existing IIS process?

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about iis7