Ben
Ben

Reputation: 2578

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 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?

Upvotes: 0

Views: 99

Answers (2)

John Egbert
John Egbert

Reputation: 5766

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.

Upvotes: 2

Timores
Timores

Reputation: 14589

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.

Upvotes: 2

Related Questions