Client Object Model

The …./_vti_bin/client.svc service is your entry point to the client object model. The client object model provides you with a client-side API that mimics a large portion of the server-side API. This client-side API can be called from regular .NET applications, Silverlight applications, or Ajax applications using JavaScript.

The client object model has been designed with two things in mind:

— It is as similar as possible to the server-side model. This eliminates a serious learning curve.
— It is designed in to give you, the developer, full control on when the round trips to the server are made, and what data is loaded when those round trips are made.

Comparison — Server Object Model / Client Object Model

Difference:

— The client object model does not provide any objects scoped higher than SPSite.

— The various administration related objects are missing in the client object model.

— The querying semantics in the client object model are somewhat different because when working with the client object model, you are always dealing with a distributed application

The most important infrastructural object is the ClientContext object. The process of working with the server from the client
starts with the ClientContext object.

***** The Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client.Runtime.dll and other related DLL’s are in this folder:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI

Need to know if this if you have to browse to the folder to add a reference!!!

Advertisements
Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: