Analyzing Web Parts with SharePoint Developer Dashboard

We are going to use another alternative to retrieve information for the user assigned to each item. We can avoid running many complex asynchronous executions to retrieve the user for each item in the ProjectsList2010 list. Follow these steps to retrieve the user related to each item in the ProjectsList2010 list by using a LINQ to objects query to perform a join on two lists.

  1. Stay in Visual Studio as a system administrator user.
  2. Open MainPage.xaml.cs and replace the code in the ShowProjects method with the following lines. This time, it will run two asynchronous queries to retrieve all the items for the ProjectsList2010 and UserInformationList lists. Then, it will perform a LINQ to objects query ...

Get Microsoft Silverlight 4 and SharePoint 2010 Integration 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.