The Silverlight BluePrint for SharePoint on Silverlight Beta 2 is finally available for download here.
“The updated release of the Silverlight Blueprint for SharePoint is a little different from the original blueprints as with this release we've created a set of self-contained samples that using the blueprint methodology you can deploy to your SharePoint site to test out the Silverlight applications. The goal of the blueprints is to give you some guidance on how to integrate Silverlight applications with SharePoint. There are many possibilities here, and we've put together just a few to get you started.”
We have built in the latest new features of Silverlight, like Visual State Manager, HTTPWebRequest, data binding,
Hello World sample
This is a simple web part sample that shows how you can host a silverlight application from within a SharePoint web part.
In the Silverlight 2 beta 1 BluePrint for SharePoint we always deployed to a sub folder of the ClientBin that resides in the SharePoint web application but in this version of the Blueprint we also deployed to other locations. This sample contains a SharePoint web part that deploys to a document library and a web part that deploys to the LAYOUTS folder.
Slider custom field sample
This is a SharePoint custom field type containing a Silverlight slider. No major changes are made to this sample. As for the Silverlight 2 beta 1 BluePrint for SharePoint, the technique for using the InitParams property for the Silverlight control is explained here.
Media Viewer web part sample
This web part illustrates the use of a Picture Library containing pictures or movies. Information like the URL of the SharePoint site, the name of the Picture Library and the type of media is passed in the InitParams property of the Silverlight control. The data for the pictures is downloaded from within the Silverlight application using the HttpWebRequest object. This technique works completely asynchronous know. Changes to the Silverlight code itself include the use of the built-in ListBox control customized with styles and data binding.
The SharePoint web part is deployed to a document library.
Colleague Viewer web part sample
This sample illustrates the use of a WCF service for displaying colleague information out of the UserProfileManager. The WCF service runs in the SharePoint context. This WCF service is called from within the Silverlight application. Silverlight techniques used are styles and data binding.
The SharePoint web part is deployed to a SharePoint document library.
Navigation Control sample
This controls shows how you can develop a custom navigation control hosting a silverlight control. The data for the silverlight application is retrieved from within SharePoint and passed in an XML Data Island that can be accessed by the Silverlight application. Silverlight techniques used here are data binding and Visual State Manager to build the navigation scroll viewer. The silverlight application comes with a SharePoint master page feature.
Have fun with it! Hope you like it.