Partager via


Requiring the Silverlight 1.0 Service Release..

 

Mike Harsh announced recently the first Service release for 1.0.
The release includes perf improvements, a few fixes (e.g. streaming over proxies not using port 80), and a few "new'' features for SL 1.0 like allowing media redirects. 
 
Most users will be getting this release via the auto-updater and no changes are required for most websites that have gone live with 1.0... 
For a very few websites that must require their users have the Service Release installed to take advantage of the new features, here are some interesting (low-level details:

  • The version of the Service Release is 1.0.21115 .  
  • To require the user to upgrade, all you have to do is specify your minimum version to 1.0.2115 in the call to Silverlight.createObject<>...

Silverlight.createObjectEx({
source: "Page.xaml",
parentElement: document.getElementById("SilverlightControlHost"),
id: "SilverlightControl",
properties: {
width: "100%", height: "100%",
version: "1.0.21115"

},
events: { /*...*/ }

});
Silverlight.js does all the work to make sure this version is installed and if not, it will show the "Get Silverlight" or what ever your install experience displays..

  • There is one small wrinkle with this. Tim Sneath has explained in previous posts that the 1.1 alpha is not being serviced or auto-updated (yet)..  and since 1.1 is a 'greater version' than 1.0.21115,  then any users who have 1.1 will go to a site that requires 1.0.21115 and not be prompted to install.. 
    • To be very low-level,  calling Silverlight.isInstalled ( "1.0.21115" ) or  <slplugin>.IsVersionSupported( "1.0.21115" )   on a machine that has 1.1 will return true (makes sense since 1.1 > 1.0.x  and MS is always backwards compatible for example 1.1 already has the changes, we just have not released an update) 
    • For a workaround, you can of course use Silverlight.isInstalled ( "1.1" );   to detect if 1.1 is installed and if so possibly prompt advise to your users recommending they uninstall 1.1 and install 1.0  SR1....

If you are reading this and thinking it is confusing, rest assured you are likely OK. All of these details apply to a tiny subset of users ( that disabled auto-update.. or installed 1.1and are visiting one of the few sites requiring 1.0.21115. For the other 99.9995% of the users, there is no action item.

If you are curious to know what version of Silverlight you are running,  here is a trivial html site that can tell you; and it gives you my advise on what to do..
View Source will work since it is only 3 lines to check.

Comments

  • Anonymous
    November 29, 2007
    First up, 1.1 renamed to 2.0! GoLive License support, release timeframes, new features... Get all the

  • Anonymous
    November 29, 2007
    First up, 1.1 renamed to 2.0! GoLive License support, release timeframes, new features... Get all the

  • Anonymous
    June 12, 2009
    Não sei se já repararam mas temos um update para o Silverlight v1.0 . Uma das melhorias é: &quot; Loading