Enable Silverlight 2 Beta 1 with a SharePoint Solution
You are probably saying, "Whaaaaaat???" after reading my last post. There are quite a number of configuration changes and components to install to get Silverlight up and running in your SharePoint environment. Here's an alternative. I've put together a SharePoint solution which will make all the necessary web.config changes for you. That's right! Just install this solution, activate the feature on the web application you want to wreck (Silverlight'ify) and presto.
Please don't forget that you need to have the following installed on your server for Silverlight to work:
- SharePoint SP1 (don't forget wss sp1 and office server sp1 both need to be installed)
- The Silverlight plugin
- Silverlight 2 Beta 1 SDK
- System.Web.Silverlight.dll in the GAC (not sure why the SDK install doesn't do this automagically when you choose to install the server components)
Here's the link to the solution file:
IWWebConfigSolution
IMPORTANT
Don't forget to register the MIME type for the .xap extension or you'll be scratching your head looking at a blank screen.
Bug Found
Unfortunately, this solution has a small bug. In the httpHandlers section the following line gets added at the end of the section, and it needs to appear before the other added entries.
<remove verb="*" path="*.asmx"/>
I have not found a way around this issue. So, after the solution deployment, this entry will need to be moved by hand.