SharePoint code samples

Download SharePoint code samples and applications. New samples are added frequently in JavaScript, C++, C#, and VB.NET.You can also download code samples for other products like Windows 8, Windows Phone, Windows Azure, Office, Silverlight, or explore the Official Visual Studio 2010 C#, VB.NET, and 101 LINQ samples.

Each sample is licensed to you by the party distributing it. Microsoft does not guarantee the samples or grant rights for any sample distributed by a party other than Microsoft. Use of this site is subject to the Terms of Use.
Sort by: rss
608 results
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View samples
- Microsoft
This sample simulates a bookstore by using a SharePoint 2013 document library in which every document is a book. End users can request and buy new books by using the provided custom actions. The components of the app are localized for English and Spanish.
Featured
C#
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View samples
- Microsoft
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
(35)
Updated 2/28/2012
Released 2/20/2012
64,231 Downloads
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View samples
- Microsoft
Download all the code samples developed for apps for SharePoint in a single, convenient package.
(15)
Updated 4/17/2013
Released 3/28/2013
15,952 Downloads
Muawiyah Shannak
JSLink files have the ability to quickly and easily change how a list views and forms are rendered. More specifically how the fields in that list should be displayed. I wrote the following code samples to be easy to understand and to achieve learning purposes.
(12)
Updated 5/19/2014
Released 9/22/2013
3,392 Downloads
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View samples
- Microsoft
Learn how to use the SharePoint REST APIs to perform basic data access operations (Create, Read, Update, Delete) on SharePoint 2013 lists and list items.
(6)
Updated 3/19/2013
Released 7/16/2012
6,180 Downloads
C#
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View samples
- Microsoft
Build a sample MVC application using Windows Azure Active Directory authentication to access Office 365 APIs including Exchange and SharePoint
(0)
Updated 5/16/2014
Released 2/28/2014
1,117 Downloads
C#
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View samples
- Microsoft
The sample pack .zip file that contains the samples we're shipping as part of the SharePoint 2013 and SharePoint Online Branding and Site Provisioning solution pack. See notes for the complete list of samples.
(3)
Updated 5/21/2014
Released 2/28/2014
1,969 Downloads
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View samples
- Microsoft
This sample demonstrates how to authenticate against Microsoft SharePoint Online in client applications using the managed SharePoint client-side object models.
(17)
Updated 4/28/2011
Released 4/28/2011
14,607 Downloads
C#
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View samples
- Microsoft
Learn how to submit a search query to Search in SharePoint 2013 from within an app for SharePoint.
(12)
Updated 2/6/2013
Released 7/16/2012
6,197 Downloads
C#
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View samples
- Microsoft
Learn how to create a basic "hello world" provider-hosted app for SharePoint that uses the SharePoint REST interface to read information about a SharePoint 2013 site from a remote web application.
(5)
Updated 6/13/2014
Released 7/16/2012
8,004 Downloads
C#
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View samples
- Microsoft
Learn how to create a basic "hello world" provider-hosted app for SharePoint that uses the SharePoint CSOM to read information about a SharePoint 2013 site from a remote web application.
(9)
Updated 6/13/2014
Released 7/16/2012
8,548 Downloads
C#

Couldn't find the sample you were looking for?

1 - 10 of 608 Items