Silverlight BluePrint for SharePoint


The Silverlight BluePrint for SharePoint contains 6 samples that demonstrate how you can use Silverlight in different areas of SharePoint 2007. The kit contains for each sample a setup package to deploy the sample to your own SharePoint server, the source code and documentation describing how best practices on how to implement Silverlight in SharePoint 2007.
The samples do not only explain how to build web parts but also how you can develop application pages and custom fields making use of Silverlight.

The Silverlight BluePrint for SharePoint contains following samples:

Sample 1: Hello Silverlight Web Parts and the SilverlightPart

This is the most basic sample explaining how to use Silverlight into SharePoint web parts. The sample contains 2 web parts, one with Silverlight 1.0 and one with Silverlight 2.0. It explains how you have to develop your SharePoint web part to integrate a Silverlight application and how you have to deploy the different parts making up the web part feature.

As there are differences in development and deployment of Silverlight 1.0 and Silverlight 2.0 web parts, this sample contains an example of each version.

Hello Silveright 1.0 web part            Hello Silveright 2.0 web part

The sample also contains the SilverlightPart. This is a web part that encapsulates the code needed for running Silverlight applications from within SharePoint web parts. In the toolpart pane you can indicate whether you want to include a Silverlight 1.0 or Silverlight 2.0 application. The dropdown listbox is populated with all Silverlight applications that can be found in the ClientBin folder and sub folders and from which you can pick your application.

In case you choose to load a Silverlight 1.0 application, you can indicate whether you want to include a javascript file. In that case a dropdown list is populated with all javascript files found in the ClientBin folder and sub folder.

 


Sample 2: Silverlight Navigation Control

The Silverlight Navigation Control demonstrates how you can replace a standard SharePoint menu control by a Silverlight enabled one.

Silverlight Navigation Control

 


Sample 3: Silverlight Social Network web part

The Silverlight Social Network shows User Profile data of the currently logged on user and graphically shows his/her relation towards colleagues and manager.

This sample demonstrates how you can make web parts communicate with Silverlight and Windows Communication Foundation Services.

Silverlight Social Network

 


Sample 4: Silverlight Visual How-To Center

This is an example of content management and how you can Silverlight-enable custom application pages. The application page shows a Visual How To Center with a preview of all existing Visual How To's in a clipping region on the left of the page and the details of a selected Visual How To in the center of the page. The previews are retrieved from the existing page layouts based on a specific page template. Instead of browsing through all existing pages as you would in a classic SharePoint site, you can view all existing pages on one central place.

Silverlight Visual How-To Center

 


Sample 5: Silverlight Media Viewer

This sample web part demonstrates how you can visualize the content of a Picture Library. The web part comes with custom toolpart pane in which you can select the Picture Library to view and the type of data that is in it. The web part shows a scrolling region at the right side from which you can select a picture. The selected picture is shown on a larger canvas eventually with title and description if filled out in the picture library. If your picture library contains movies, the larger canvas will play the movie you select.

Silverlight Media Viewer

 


Sample 6: Silverlight Slider Custom Field

The Slider control is an expample of what you can do with Silverlight in a custom SharePoint field. You can add this field to a classic list or to a Survey list. The selected value is stored in the list item as like the data of other fields.

Silverlight Slider Control

 
You can download the samples from the official Silverlight BluePrint for SharePoint site.