Click here to Skip to main content
15,886,199 members
Articles / Web Development / ASP.NET

Exploring SharePoint 2010 Client Object Model Capabilities

Rate me:
Please Sign up or sign in to vote.
4.54/5 (29 votes)
5 Jan 2011CPOL21 min read 146.8K   1.6K   47  
This article talks about the powerful SharePoint 2010 Client Object Model Capabilities and various ways to utilize it.
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{0787D6EA-FEFD-4BA2-A03C-A655A19D7E43}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>ClientOMUIActions</RootNamespace>
    <AssemblyName>ClientOMUIActions</AssemblyName>
    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <ProjectTypeGuids>{BB1F664B-9266-4fd6-B973-E1E44974B511};{14822709-B5A1-4724-98CA-57A101D1B079};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <SandboxedSolution>False</SandboxedSolution>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <UseVSHostingProcess>false</UseVSHostingProcess>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <UseVSHostingProcess>false</UseVSHostingProcess>
  </PropertyGroup>
  <PropertyGroup>
    <SignAssembly>true</SignAssembly>
  </PropertyGroup>
  <PropertyGroup>
    <AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Microsoft.SharePoint.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL" />
    <Reference Include="Microsoft.SharePoint.Client.Runtime, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL" />
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Data" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Web" />
    <Reference Include="System.Web.Extensions" />
    <Reference Include="System.Xml" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="Microsoft.SharePoint" />
    <Reference Include="Microsoft.SharePoint.Security" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Layouts\ClientOMUIActions\AsynchronusProcessing.aspx.cs">
      <DependentUpon>AsynchronusProcessing.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="Layouts\ClientOMUIActions\AsynchronusProcessing.aspx.designer.cs">
      <DependentUpon>AsynchronusProcessing.aspx.cs</DependentUpon>
    </Compile>
    <Compile Include="Layouts\ClientOMUIActions\DocumentLibraryCreationPage.aspx.cs">
      <DependentUpon>DocumentLibraryCreationPage.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="Layouts\ClientOMUIActions\DocumentLibraryCreationPage.aspx.designer.cs">
      <DependentUpon>DocumentLibraryCreationPage.aspx.cs</DependentUpon>
    </Compile>
    <Compile Include="Layouts\ClientOMUIActions\ListCreationPage.aspx.cs">
      <DependentUpon>ListCreationPage.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="Layouts\ClientOMUIActions\ListCreationPage.aspx.designer.cs">
      <DependentUpon>ListCreationPage.aspx.cs</DependentUpon>
    </Compile>
    <Compile Include="Layouts\ClientOMUIActions\UsingCAMLQuery.aspx.cs">
      <DependentUpon>UsingCAMLQuery.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="Layouts\ClientOMUIActions\UsingCAMLQuery.aspx.designer.cs">
      <DependentUpon>UsingCAMLQuery.aspx.cs</DependentUpon>
    </Compile>
    <Compile Include="Layouts\ClientOMUIActions\UsingLINQQuery.aspx.cs">
      <DependentUpon>UsingLINQQuery.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="Layouts\ClientOMUIActions\UsingLINQQuery.aspx.designer.cs">
      <DependentUpon>UsingLINQQuery.aspx.cs</DependentUpon>
    </Compile>
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="ClientOMWebPart\UIDemo.cs" />
    <Compile Include="ClientOMWebPart\UIDemoUserControl.ascx.cs">
      <DependentUpon>UIDemoUserControl.ascx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="ClientOMWebPart\UIDemoUserControl.ascx.designer.cs">
      <DependentUpon>UIDemoUserControl.ascx.cs</DependentUpon>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <None Include="Features\Feature1\Feature1.feature">
      <FeatureId>{821c93f1-9f24-46eb-bce7-9f6909d22fc1}</FeatureId>
    </None>
    <None Include="key.snk" />
    <None Include="Layouts\SharePointProjectItem.spdata">
      <SharePointProjectItemId>{e3c4c7c5-09ef-4104-b74b-37412cb23462}</SharePointProjectItemId>
    </None>
    <None Include="Package\Package.package">
      <PackageId>{1bb403c1-3153-4e7c-a84a-c513b9ba6ad5}</PackageId>
    </None>
    <None Include="Package\Package.Template.xml">
      <DependentUpon>Package.package</DependentUpon>
    </None>
    <None Include="ClientOMWebPart\SharePointProjectItem.spdata">
      <SharePointProjectItemId>{cb4a5f53-9180-4c47-be9e-8598fef860ed}</SharePointProjectItemId>
    </None>
    <None Include="ClientOMWebPart\UIDemo.webpart" />
  </ItemGroup>
  <ItemGroup />
  <ItemGroup>
    <Content Include="Features\Feature1\Feature1.Template.xml">
      <DependentUpon>Feature1.feature</DependentUpon>
    </Content>
    <Content Include="Layouts\ClientOMUIActions\Images\Loader1.gif" />
    <Content Include="Layouts\ClientOMUIActions\Images\Loader2.gif" />
    <Content Include="Layouts\ClientOMUIActions\Images\Loader3.gif" />
    <Content Include="Layouts\ClientOMUIActions\Images\Loader4.gif" />
    <Content Include="Layouts\ClientOMUIActions\AsynchronusProcessing.aspx">
      <SubType>ASPXCodeBehind</SubType>
    </Content>
    <Content Include="Layouts\ClientOMUIActions\DocumentLibraryCreationPage.aspx">
      <SubType>ASPXCodeBehind</SubType>
    </Content>
    <Content Include="Layouts\ClientOMUIActions\ListCreationPage.aspx">
      <SubType>ASPXCodeBehind</SubType>
    </Content>
    <Content Include="ClientOMWebPart\Elements.xml" />
    <Content Include="ClientOMWebPart\UIDemoUserControl.ascx">
      <SubType>ASPXCodeBehind</SubType>
    </Content>
    <Content Include="Layouts\ClientOMUIActions\UsingCAMLQuery.aspx">
      <SubType>ASPXCodeBehind</SubType>
    </Content>
    <Content Include="Layouts\ClientOMUIActions\UsingLINQQuery.aspx">
      <SubType>ASPXCodeBehind</SubType>
    </Content>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\SharePointTools\Microsoft.VisualStudio.SharePoint.targets" />
</Project>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United Kingdom United Kingdom
A SharePoint Kid playing in Kolkata, India.

Working with one of the leading software company and currently working with SharePoint technologies.

Enjoys Cricket, National & World Music.

Favourite band include Linkin Park, Beatles, Oasis, Match Box 20, Noori, Nirvana, Nickelback etc.

Comments and Discussions