Linq to SharePoint Lab

Version: 2.0

Description

LINQ to SharePoint is a technology for querying SharePoint lists that relieves the developer from having to write CAML queries. In this lab, you will be making use of the new support for LINQ in SharePoint. In the first exercise, you will be creating lists for use with LINQ, and the second exercise will create a web part for accessing the list data using LINQ.

Overview

Lab Time: 45 minutes

Lab Folder: C:\Student\Labs\05_LINQ

Lab Overview: LINQ to SharePoint is a technology for querying SharePoint lists that relieves the developer from having to write CAML queries. In this lab, you will be making use of the new support for LINQ in SharePoint. In the first exercise, you will be creating lists for use with LINQ. In the second exercise you will use the SPMETAL utility to create Entities. In the final exercise you will create a web part for accessing the list data using LINQ.

Note:
Lab Setup Requirements

Before you begin this lab, you must run the batch file named SetupLab05.bat. This batch file creates a new SharePoint site collection at the location https://intranet.contoso.com/sites/Lab05.