Silverlight 3.0 OOB doesn’t auto update in my DotNetNuke Module

While developing Silverlight Video Library our next up coming DotNetNuke Module, the out of browser (OOB) experience Silverlight 3.0 brings is very compelling. But we ran in to a snag when testing the auto updating feature.

Turns out this auto updating feature isn’t so auto coming from beta to RTM. After some hunting around the new classes available in the framework the following thrown in your App.config.cs will ensure in its simplest way your OOB app will be auto updated.

private void Application_Startup(object sender, StartupEventArgs e)

{

// check for new version if OOB

if (Application.Current.IsRunningOutOfBrowser)

{

Application.Current.CheckAndDownloadUpdateAsync();

}

}

private void Application_Startup(object sender, StartupEventArgs e)
{

Leave a Reply

Your email address will not be published. Required fields are marked *