Export (0) Print
Expand All

SharePoint Foundation 2010 Code Samples

SharePoint 2010

Last modified: April 21, 2011

Applies to: SharePoint Foundation 2010

The following code samples demonstrate ways to use Microsoft SharePoint Foundation 2010 features and their associated APIs. These code samples are compilable and are typically in the form of Microsoft Visual Studio 2010 solutions.

  • Code Sample: Silverlight List Viewer

    The Silverlight List Viewer sample creates a Silverlight application that, when hosted on a SharePoint Web site, will display list items from that site. The sample creates a drop-down picker through which to select lists and display their contents within a dynamically generated Grid control. The sample illustrates how to use delegates for callback methods in asynchronous processing, and how to use a Dispatcher object to make changes in the SharePoint Foundation user interface.

  • SharePoint 2010 Code Sample: Sandboxed Solution Employee Browser

    A C# sample that shows how to create a graphical user interface for the management of database snapshots.

  • Code Sample: Creating a Content Class That Can Be Backed Up

    A C# code sample that shows how to create a class that represents content and that can be backed up and restored because the class implements the IBackupRestore interface.

  • Code Sample: Custom Field

    A C# code sample that shows how to create a custom field (column) that can be added to SharePoint Foundation lists. The sample implements a field that holds the 10-digit ISBN code of a book.

  • Code Sample: Manage Web Application Snapshots

    A C# sample that shows how to create a graphical user interface for the management of database snapshots.

Show:
© 2014 Microsoft