One the most improved feature in SharePoint 2010 is Client Object Model. It enable client application to interact with SharePoint content directly. In Summary “SharePoint 2010 client object model lets you write client-side code to work with all the common objects in SharePoint sites. Through the object model, you can add and remove lists, add, update, and delete list items, change documents in document libraries, create sites, manage permissions of items, and add and remove Web Parts from a page.”
1. Visual Studio 2010
2. .NET Framework 3.5
3. WPF Application Project (VS 2010)
4. SharePoint 2010 Server
Description
Client Object Module allows to interact following ways.
1. .NET Managed Client
2. Silverlight
3. JavaScript
In this example you will see .NET Managed client by create WPF application, We will see how to retrieve list from SharePoint site, Create list in SharePoint site and Deleting the list from SharePoint site
![]()
Source Code Files
To learn more about Client object model you can refer to Steve Peschka has written a really good series: