开发者

Two different versions of Silverlight Control

I have a really strange issue in my project.

I have a facebook app which loads a silverlight control in an iframe. Right now the app is pointing to my localhost.

Now the strange thing is if I open the app in two different browser with the same address, it load two differen versions of the same silveright control. (One i start by debugging with Visual开发者_如何学Python Studio, the other by opening localhost in the browser)

How can one of the browsers get the older version of the Silverlight Control and the other one the new version?


If you have not set up an expiry header at the Web server, the cache of the browser can explain this difference. Empty the cache of both browsers and try again.


You can also tell the browser to get the XAP everytime (not cache it) by setting the expiration in the headers when the file is sent to the client. You can set this up in IIS under Output Caching by adding the extension of the file: XAP and selecting "Prevent all caching" for that file extension.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜