Prevent Silverlight 3 from caching while debugging
问题 I'm assuming the issue I'm having is related to caching. Code changes I make are not getting picked up when I debug. Most times I get served a previous version of the app. How do I prevent this from happening? 回答1: Ctrl+F5 is an easy way to refresh a page and clear the cache of that page at the same time - it may help :) 回答2: Try to add to the page that hosts Silverlight application on Page_Load: Response.Cache.SetExpires(DateTime.Now.AddSeconds(-100)); Response.Cache.SetCacheability