Clearing the cache of the webApplication when using built in development server

when working with  visual studio development server, you will notice that the application cache will remains between the runs ,

this occurs because the web application still runnings even when you close your browser( or stop the debug).

if you need to clear the cache of the web site during development ,

you need to stop the built in development server,

right click on the development server icon in windows TaskBar , and click stop .

 

Thanks

 

1 Comment

  • Why doesn't the developement server have an option to emit the following to prevent caching, ALWAYS. It's such a nightmare and its gone on for years.





    Otherwise a -nocache IE command line setting and have VS run IE with this set.

Comments have been disabled for this content.