Consuming Silverlight Data in SharePoint 2010

Accessing SharePoint data in Silverlight involves using the SharePoint client side object model. The following DLLs represent the APIs for accessing SharePoint data in Silverlight:

• Microsoft.SharePoint.Client.Silverlight.dll

• Microsoft.SharePoint.Client.Silverlight.Runtime.dll

In this section you create a Silverlight web part that displays data from a list in a grid. It will show data from a custom list called Books. The user can filter the data according to the book category, which he can select from a drop-down list.

Create a new custom list and call it Books. Add the custom columns listed in Table 9.2.

Table 9.2. Columns for Books List

Create a new Silverlight project named ListDataSLApp. ...

Get Sams Teach Yourself SharePoint® 2010 Development in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.