O'Reilly logo

Microsoft Silverlight 4 and SharePoint 2010 Integration by Gastón C. Hillar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Consuming SharePoint 2010 WCF Data Services from a Silverlight Web Part

Follow these steps to test the Silverlight Web Part that allows a user to read data from the ProjectsList2010 list by using the client library in Silverlight to access SharePoint 2010 WCF Data Services.

  1. Start your default web browser and load the SharePoint page that shows SLProjectsCRUD2010WCF.xap as a Silverlight Web Part, WCFTest.aspx.
  2. The Web Part will display the values for all the fields of each item in the ProjectsList2010 list in the grid:
    Consuming SharePoint 2010 WCF Data Services from a Silverlight Web Part

The code in the Loaded event handler for the LayoutRoot Grid creates an instance of the HomeDataContext for the WCF Data Service reference, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required