Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Silverlight or ClientBin problem?

I have a ridiculous problem here. I got IIS 7.0, with a silverlight files in clientBin.

If I put my .xap up to date, my silverlight file are not update. Maybe a cache somewhere, so I deleted asp net temporary, I delete my browser cache, I also delete the .xap file in the IIS folder, and when I try to download the .xap again the browser gives me the silverlight file also even if it is deleted.

From where this file coming from? I try the same thing with a image in the client bin folder and I get the same bizarre problem.

What do I need to clear to refresh the ClientBin folder.?

I also try to reboot IIS, iisreset, stop the application and web site, try to force IIS to expired cache immediately, no luck with any of this.

Could somebody help me ?

like image 302
Cédric Boivin Avatar asked Apr 21 '26 17:04

Cédric Boivin


1 Answers

The best way is to load your xap file with a querystring. This will force the browser to get the latest version

<param name="source" value="/ClientBin/MySilverlightApp.xap?v=12345" />
like image 143
NakedBrunch Avatar answered Apr 24 '26 08:04

NakedBrunch



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!