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

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -