Silverlight 2 RTM is out and ready to download. If you want to integrate Silverlight 2 with SharePoint you have to install the following:
- SP1 for WSS if you have a WSS installation
- SP1 for MOSS if you have a MOSS installation
- SP1 for Visual Studio 2008
- If you are a SharePoint developer you can also install the Visual Studio 2008 extensions for WSS 3.0 (VseWSS 1.2)
- The Silverlight 2 run-time
- The Silverlight 2 SDK
- The Visual Studio 2008 Tools for Silverlight 2
My colleague Jan Tielens wrote a great post on how to upgrade the web.config of your SharePoint site(s) the “lazy way”. It is a great way to quickly upgrade the web.config files of your SharePoint sites without any chances on typos. I tested it out: it still works with Silverlight 2 RTM.
The only thing that need to be added manually to each web.config is the reference to the Silverlight assembly in the <system.web><compilation><assemblies> section:
<add assembly="System.Web.Silverlight, Version=22.214.171.124, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
Two other things need to be done to get Silverlight working with SharePoint:
- drop the System.Web.Silveright.dll into the Global Assembly Cache. After the installation of the Silverlight SDK, this assembly can be found in the C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Libraries\Server directory.
- If you already worked with the betas of Silverlight 2, you had to define a MIME type on each IIS SharePoint Web Application (or on the root if IIS). You have to change this MIME type to application/x-silverlight-app.
If you are using the System.Web.UI.SilverlightControls.Silverlight control in your SharePoint web parts and application pages, you have to set the MinimumVersion property to “2.0.30923.0”
I will soon post my updated data binding sample.