Silverlight.js V1 to V2 Change in Functionality

Wednesday, June 25, 2008

I’m sure there are a lot of changes in functionality in the Silverlight.js file from version 1 to version 2 beta 2. One of the ones I’m most excited about is that version 2 will automatically refresh the page after you’ve installed Silverlight so you don’t need to ask the user to restart their browser

However, today I was updating the Server Unleashed site with the new Silverlight.js file and I found a breaking change that I hadn’t seen documented anywhere.

In Silverlight 1 I was checking if Silverlight was installed by using this property: Silverlight.available

It seems they’ve removed this property, and now you need to use the method: Silverlight.isInstalled("1.0");

To detect if Silverlight is installed. If I find more I’ll post them. If you know more, comment on them here.

Silverlightsilverlight

This work is licensed under CC BY-NC-SA 4.0

KB955011 Silverlight Update

WebClient Does not Send HTTP Headers By Default