SharePoint 2010 provides a three new Client API’s for interacting with SharePoint. .Net Managed Application Silverlight Application ECMA Script These API’s are much easier to use than already exsiting WebServices. The recomended Client API was .Net Managed Application than WebServices.
SharePoint 2010 now supports the client side programming using Client API Classes and namespaces. Using those class references, we can see how to retrieve the list of Site collection groups. Before start the code, add the two namespaces Microsoft.SharePoint.Client and