In this article we will see what are the dlls needed for SharePoint client object model. You can also check my last article on Client Object Model SharePoint 2010 here.
There are different client object model like managed client object model, ECMAScript object model, Silverlight clien object model etc. To work with these object models SharePoint provides certain classes which exists inside some dlls. These dlls are very leightweight as compared to SharePoint server object
model. So it is a good idea to know about the dlls used and there locations.
Managed Object Model:
Dlls needed:
- Microsoft.SharePoint.Client
- Microsoft.SharePoint.Client.Runtime
Location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI (If SharePoint installation done in C drive)
ECMAScript Object Model:
JS needed:
- SP.js , SP.Core.js , SP.Ribbon.js , and SP.Runtime.js .
Location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS (If SharePoint installation done in C )
Silverlight Object Model:
Dlls needed:
- Microsoft.SharePoint.Client.Silverlight
- Microsoft.SharePoint.Client.Silverlight.Runtime
Location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ClientBin (If SharePoint installation done in C drive)drive)
You can also check my lasta article on how to get subsites under site collection using SharePoint object model here.
There are different client object model like managed client object model, ECMAScript object model, Silverlight clien object model etc. To work with these object models SharePoint provides certain classes which exists inside some dlls. These dlls are very leightweight as compared to SharePoint server object
model. So it is a good idea to know about the dlls used and there locations.
Managed Object Model:
Dlls needed:
- Microsoft.SharePoint.Client
- Microsoft.SharePoint.Client.Runtime
Location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI (If SharePoint installation done in C drive)
ECMAScript Object Model:
- SP.js , SP.Core.js , SP.Ribbon.js , and SP.Runtime.js .
Location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS (If SharePoint installation done in C )
Silverlight Object Model:
Dlls needed:
- Microsoft.SharePoint.Client.Silverlight
- Microsoft.SharePoint.Client.Silverlight.Runtime
Location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ClientBin (If SharePoint installation done in C drive)drive)
You can also check my lasta article on how to get subsites under site collection using SharePoint object model here.