Forcing browsers to reload Silverlight xap after an update

后端 未结 5 1769
星月不相逢
星月不相逢 2020-12-09 15:32

I have a Silverlight control packaged up and deployed to a SharePoint web part. I\'m having trouble with the browser loading new versions of the control after I push an upd

5条回答
  •  长情又很酷
    2020-12-09 15:50

    This has to do with how your browser handles resource requests. Flash has similar issues and there are a couple workarounds.

    Here's an article that details the issue and possible solutions.

    I would suggest doing something like this:

    Say you have this for your xap in your html:

    
    

    I would version it so whenever you do a push you change the version number. Example:

    
    

提交回复
热议问题