Restart IIS or recycle application pool

Restart IIS or recycle application pool

In IIS you can have multiple websites hosted on different application pools.You might have situation where you want to see your changes reflected at website A. What is good way to see your reflected changes? Does it require to restart the entire IIS and bring all other hosted website down?

No. There is no need to restart the IIS. You can click on application pool which serves that particular website and recycle it. This way if any client request in process get served by old worker process and
new requests will get served by new worker process instance. Here you haven’t made any website offline.

This is very helpful even if you don’t have enough traffic. The website can be your test environment.
Your colleague might be testing simultaneously when you are making changes. Your colleague request
will get served by old worker process which you just recycled. He or she would not get 404 kind of error
or Service unavailable kind of error.

image

Tags:

Connection PoolingApplication Pool and Worker processIt is an error to use a section registered as allowDefinition3dMachineToApplication beyond application level This error can be caused by a virtual directory not being configured as an application in IISIIS backup Disaster action planRemoving aspnet runtime from IISAsp.net Interview Questions for 2 years or 3 years experianceiis7 32 bit modeBest Android ApplicationsHigh performance aspnet applicationAndroid install APK from computer applicationHow to remove android applications

Author

My name is Satalaj, but people call me Sat. Here is my homepage: . I live in Pune, PN and work as a Software Engineer. I'm former MVP in ASP.net year 2010.
Disclaimer: Views or opinion expressed here are my personal research and it has nothing to do with my employer. You are free to use the code, ideas/hints in your projects. However, you should not copy and paste my original content to other web sites. Feel free to copy or extend the code.
If you want to fight with me, this website is not for you.
 

I'm Satalaj.