Wednesday, October 17, 2012

How to disable cache in silverlight with MVVM or CodeBehind?

How to disable cache in silverlight with MVVM or CodeBehind?

How to disable cache in silverlight with MVVM or CodeBehind?

I search Internet,most suggest to change in default.aspx or default.html,Do anyone have idea to  to disable cache in silverlight with MVVM or CodeBehind?

Answers & Comments...

Answer: 1

It doesn't sound like you fully understand the XAP-caching issue.  Once you get to the point where you can invoke any silverlight code, regardless of the pattern, you would have already loaded the XAP.  The best you can do in code is develop some overly-complicated manual update check which and prompts the user to clear their cache and hit f5.  Why not add half a line to your hosting webpage?





No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog