Restarting an app pool using asp.net (IIS7)

Posted by JamesStuddart on Stack Overflow See other posts from Stack Overflow or by JamesStuddart
Published on 2009-12-15T13:03:57Z Indexed on 2010/05/06 11:18 UTC
Read the original article Hit count: 364

Filed under:
|
|

Hi all,

I need to restart an app pool from code, does anyone know how to do this? I have seen many examples for iis6 and most comments have been "It doesnt work"

So any ideas, or anyway to get IIS to watch a file and when it changes have the app pool restart?

© Stack Overflow or respective owner

Related posts about iis7

Related posts about iis-7.5