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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.