Silverlight OOB Update Using MEF / PRISM

I am working on a prototype Silverlight OOB application. PRISM or MEF or both will be used to modulate the application. When a new version of the application is available, CheckAndDownloadUpdateAsync can help load the latest version into the OOB script.

How do updates work if only a new version of the application module is available? Is there a known functionality and / or strategy that will be used to download new modules?

+5
source share
1 answer

You can upset your own update detection by having a small file on your server next to the XAP for your application containing the latest version. For instance:

http://localhost/myawesomeapp.xap
http://localhost/myawesomeapp.xap.ver

If you want to check for updates without downloading them, you can always click on the .ver file, check the version indicated in it, and if it is newer, and then the currently running application, click the "Update" button to the user.

Please note: this approach will also allow you to create more complex scripts, for example, prompt the user to switch to another version of the application (for example, Pro) or update Silverlight to get the latest version.

And if you have several applications, you can list them all in this file and cross-promote between your applications.

+1
source

All Articles