Common Programming Tasks in the Managed Client Object Model

SharePoint 2010

Last modified: July 15, 2010

Applies to: SharePoint Foundation 2010

Available in SharePoint Online

The Microsoft SharePoint Foundation 2010 client object models provide means to easily perform numerous tasks with SharePoint lists and sites.

For an example that demonstrates how easy it is to set up a managed client application to work with SharePoint data, see Creating a Basic SharePoint Foundation Client Application. For information about how to set up a basic context to use the ECMAScript (JavaScript, JScript) version of examples, see Setting Up an Application Page for JavaScript. For information about how to implement the Silverlight object model within an application project, see Using the Silverlight Object Model.

You can use the managed client object model within the context of Microsoft Business Connectivity Services (BCS). For examples that show how to use the client object model in Business Connectivity Services applications, see Code Snippets: Using the SharePoint Client Object Model with External Lists.

Common Tasks

How to: Work with Websites

How to: Retrieve Lists

How to: Create, Update, and Delete Lists

How to: Retrieve List Items

How to: Create, Update, and Delete List Items

How to: Work with Users and Groups

How to: Work with Roles

How to: Break Role Assignment Inheritance

How to: Work with User Custom Actions

How to: Work with Web Parts on a Page

Advanced Tasks

How to: Use Conditional Scope

How to: Use Exception Handling Scope

Code Sample: Silverlight List Viewer