SharePoint 2010 101 Code Samples

Each code sample is part of the SharePoint 2010 101 code samples project. These samples are provided so that you can incorporate them directly in your code. Each code sample consists of a standalone project created in Microsoft Visual Studio 2010

 
 
 
 
 
(30)
42,625 times
Add To Favorites
2/28/2012
E-mail Twitter del.icio.us Digg Facebook
Sign in to Ask a Question


  • Share Point Foundation 2010
    1 Posts | Last Post Fri 7:39 AM
    • I have Install Share Point Foundation 2010, Can I use these examples with free Share Point Foundation 2010.
      
      Regadrs,
      Kashif Ejaz
  • Great Samples
    2 Posts | Last Post March 15, 2013
  • Reproductor no admita el tipo de archivo o el códec usado para comprimir el archivo-.
    1 Posts | Last Post March 03, 2013
    • ESTOY GRABANDO UNA CONFERENCIA CON ATUBE CACHER (WMA). y cuando la voy a reproducir me dice -  Reproductor de Windows Media no puede reproducir el archivo. Es posible que el Reproductor no admita el tipo de archivo o el códec usado para comprimir el archivo-.
  • Need Hello World
    1 Posts | Last Post January 22, 2013
    • I only need Hello World, but there are so many other projects here. How can I get hello world program?
  • SPO_AuthenticateUsingCSOM solution
    1 Posts | Last Post August 18, 2012
    • If run SPO_AuthenticateUsingCSOM Csharp version it is running fine and i can able login sharepoint online site , but vb.net solution it's crashing. 
      any solution
  • how to create a search box in sharepoint2010 using visual studio 2010?
    1 Posts | Last Post June 19, 2012
    • can you give me the asp.net code for creating a search box for people search in visual studio 2010 and can be deployed in sharepoint 2010.
  • How to config WCF after i changed the url/uri?
    1 Posts | Last Post May 11, 2012
    • I try a couple of WCF samples. but after i changed the url/uri to my localhost domain, it gives an error message: the .svc is not activated.
      
      Does anyone know?
  • Great Job!
    2 Posts | Last Post May 08, 2012
    • Awesome!! Great samples!!!
    • I'am run this code get some error.
  • I have not seen the content, but the zip file, has material where the filename too long
    6 Posts | Last Post April 27, 2012
    • Thank you for providing the material, but the zip file,
      has material perhaps four or five files whose file name is too
      long for either WinRAR or Win2008 Explorer to
      decompress.  I wonder whether this an indvidual problem
      or a feature of the compressed material.
      
    • I had no problem unzipping the file with 7-zip.
    • My second try at unpacking rename the file to 1.zip to reduce the
      length of file names:  just one excessively long file naem:
      
      
      !   C:\unpackSP101\1.zip: Cannot create SharePoint Online Deploying Sandboxed Content Types and List Definitions\VB\SPO_CreateContentTypeAndList\pkg\Debug\SPO_CreateContentTypeAndList\SPO_CreateContentTypeAndList_Feature1\SPO_CreateContentTypeAndList\SPO_CreateContentTypeAndList.webpart
          Total path and file name length must not exceed 260 characters
      !   The system cannot find the path specified.
      
      
      using the original file name to unpack : SharePoint 2010 101 Code Samples.zip
      
      !   C:\unpackSP101\SharePoint 2010 101 Code Samples.zip: Cannot create SharePoint 2010 Hosting Silverlight Applications that Call Azure Services\VB\AZURE_ClientSilverlightWebPart\AZURE_ClientSilverlightWebPart\Features\AZURE_ClientSilverlightApp\AZURE_ClientSilverlightApp.Template.xml
          Total path and file name length must not exceed 260 characters
      !   The system cannot find the path specified.
      !   C:\unpackSP101\SharePoint 2010 101 Code Samples.zip: Cannot create folder SharePoint Online Accessing Current User Information in Sandboxed Solutions\VB\SPO_DisplayCurrentUserInfo\pkg\Debug\SPO_DisplayCurrentUserInfo\SPO_DisplayCurrentUserInfo_Feature1\SPO_DisplayCurrentUserInfo
      !   The filename or extension is too long.
      !   C:\unpackSP101\SharePoint 2010 101 Code Samples.zip: Cannot create SharePoint Online Accessing Current User Information in Sandboxed Solutions\VB\SPO_DisplayCurrentUserInfo\pkg\Debug\SPO_DisplayCurrentUserInfo\SPO_DisplayCurrentUserInfo_Feature1\SPO_DisplayCurrentUserInfo\Elements.xml
          Total path and file name length must not exceed 260 characters
      
      
      
      
      
      
    • Yes, if you try to extract the sample files in your Download folder (e.g. c:\users\x123456\Downloads), there are more than 10 Path too long errors.  I'm going to try extracting the files from the c: root folder.
    • Even when you extract these into the c: root folder, there are at least 4 Path too long errors.  This is using Windows Explorer > Extract All...   Microsoft's ZIP files should work properly with Windows Explorer > Extract All... (you'd expect).
    • I am also getting the same error as Tom got. I am using winrar latest version
  • Thanks!
    2 Posts | Last Post April 26, 2012
    • Thanks for posting these examples - nice set. Cheers. Craig
    • Agreed, thank you much.
1 - 10 of 12 Items