Wednesday, November 9, 2011

Getting started with SharePoint 2010 Silverlight Client Object Model

Getting started with SharePoint 2010 Silverlight Client Object Model -

When you want to use the Silverlight Object Model the first thing we are going to is add a reference to silverlight assemblies:
  • Microsoft.SharePoint.Client.Silverlight.dll
  • Microsoft.SharePoint.Client.Silverlight.Runtime.dll
These assemblies can be found at the following location :
  • C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ClientBin
Then in your code just reference the assembly and you should be good to go as shown below:
  • using Microsoft.SharePoint.Client; 
    So happy coding guys, hope you enjoy the Silverlight Client Object Model