I'm trying to find a way to stop, start, restart/recycle websites and application pools from within a web interface on the same server. Ideally this would be something I could do with .NET without having to execute shell commands.
(I see other related questions have been asked but I don't want to do this from the command line unless that's necessary).
I need to be able to do this for both IIS6 and IIS7.