O'Reilly logo

Sams Teach Yourself SharePoint® 2010 Development in 24 Hours by Vinu Santhakumari, Manpreet Singh, Sohail Sayed

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

Exploring Context in Client Object Model

The process of communicating with the SharePoint server from the client side starts through the ClientContext class, which inherits from ClientRuntimeContext. This class provides the capability to control the communication with the SharePoint server. You can specify the following while accessing the SharePoint server:

• URL

• Site

• Web

• Authentication Mode

• Credentials

This hour does not delve into the authentication mode and credentials now as this is outside the scope of this book. For now, just remember that you can use forms authentication as well to access the SharePoint site, and the client object model provides the means to pass the credentials as well.

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