Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: .NET
Expertise: Intermediate
Sep 21, 2018

How to Force Restart of the IIS Application Pool

If you want to let your web application restart your application pool, all you have to do is write a file to the IIS websites folder, which is typically c:\inetpub\wwwroot.

A file watcher on this folder restarts the application pool. It is advised that you don't overuse this, as this will result in downtime for the end-user during the restart.

Srinath M S
Thanks for your registration, follow us on our social networks to keep up-to-date