Moving to Silverlight 1.1 Alpha Refresh – A Quick Checklist

Here are a few things you'll have to change in your Silverlight 1.1 apps to get them working with the 1.1 Alpha Refresh:

  • Replace the current Silverlight.js file with the new one from the SDK ***
  • Change any references to Sys.Silverlight.* namespace (like, for example, the one in the createSilverlight() function in *.html.js) to be just Silverlight.*
  • enableHtmlAccess in createSilverlight() is now a string so should read enableHtmlAccess: "true" (rather than enableHtmlAccess: true)
  • if you use the "javascript:" prefix in your XAML to refer to an unmanaged (JavaScript) eventhandler you'll need to change it. That syntax is no longer valid
  • If you have any URLs with "\" instead of "/", you'll need to change them to "/"
  • And Mike has already blogged about the fact that you need to give all your resources a name
  • There is of course a complete list of changes in the SDK

Get the SDK here: Microsoft Silverlight 1.1 Software Development Kit Alpha Refresh 

*** Note, as Jack Bond (thanks Jack) pointed out in the comments to this post, there seems to be a problem with the Silverlight.js file shipping with the 1.1 Alpha Refresh SDK pointing people to the 1.0 Silverlight plug-in. See the comments in this post for more details.

Technorati Tags:

Comments (6)
  1. JohnGalt says:

    When are we going to get native textboxes, comboboxes and the like so that Silverlight becomes useful to actually do something instead of just show pretty pictures that move?

    The opportunity for Silverlight is to fulfill the web 2.0 promise and provide a rich user experience for interactive data driven applications via the internet with zero client footprint, but so far it’s like the people at MS haven’t even realized what they have on their hands and where it’s true power is. (i.e. no System.Data namespace!)

  2. MikeO [MSFT] says:


    We’re committed to shipping a set of controls with Silverlight 1.1 they’re just not in the Alpha. See for more details. You can still do a lot of great stuff, and there is a control model there. But I’ll grant you it’s hard work at the moment as the onus is on you to provide most of the plumbing and layout.

  3. Jack Bond says:

    Unless the 1.1 sdk has been updated, the silverlight.js file it contains is for v1.0. We needed to pull the 1.1 silverlight.js from the airline demo. details the full problem.

  4. MikeO [MSFT] says:

    Thanks Jack! That explains a behaviour we saw earlier today when sharing an app we’re building with some folks who got into a "Get Silverlight" loop. Mike

  5. Jack Bond says:

    No problem, we’re kind of surprised Microsoft hasn’t updated the SDK by now. You might want to update bullet #1, in case someone doesn’t look at the comments.

Comments are closed.

Skip to main content