O'Reilly logo

Beginning SharePoint 2013 Development by Donovan Follette, Chris Johnson, Steve Fox

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

MANAGED CODE (.NET)

In SharePoint 2010 Microsoft provided a version of the managed code CSOM for developers of .NET applications. This library has been rebuilt for SharePoint 2013 and is provided as part of the SharePoint installation. As in the 2010 release, it is provided as part of a redistributable package for developers to include in their applications.

It is made up of the following .NET assemblies:

  • Microsoft.SharePoint.Client.Runtime.dll
  • Microsoft.SharePoint.Client.dll
  • Microsoft.SharePoint.Client.DocumentManagement.dll
  • Microsoft.SharePoint.Client.Publishing.dll
  • Microsoft.SharePoint.Client.Taxonomy.dll
  • Microsoft.SharePoint.Client.UserProfiles.dll
  • Microsoft.SharePoint.WorkflowServices.Client.dll

Later in this chapter you learn about which parts of the CSOM are in what DLL and namespace, but the naming of the DLLs should also give you a few hints.

Setup

You can install the DLLs on any computer by downloading the SharePoint Client Components SDK available at: http://www.microsoft.com/en-us/download/details.aspx?id=30355.

Additionally you can find them in the following location on a machine with SharePoint installed, as shown in Figure 9-1:

%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\ISAPI

After you have added references to these DLLs from your .NET application such as a Windows Forms application or console application, you can add a ...

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