asp.net - How to reset IIS (or otherwise clear cache) when restarting a web application? -
I am working on an ASP.NET app that keeps too many data cached. When I restart the app then this data is cached, so I have to reset the IIS if I run the code that receives the data, otherwise it is taken from the cache. Is there any way I can automate it?
one to iisreset
is running Advanced (Vista / Win7 / Win2008) ) Command Prompt will restart IIS and all hosted applications. It is very fast if you keep the command prompt open: Repeat the up arrow and the last command.
Comments
Post a Comment