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.
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
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
|
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
Each code sample is part of the SharePoint 2010 101 code samples project. These samples are provided so that you can incorporate the
|
(33)
Updated 2/28/2012
Released 2/20/2012
55,053
Downloads
|
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
Download all the code samples developed for apps for SharePoint in a single, convenient package.
|
(9)
Updated 4/17/2013
Released 3/28/2013
10,012
Downloads
|
|
|
The "Survey Application Tutorial: Developing a SharePoint Application Using LightSwitch" will show you how to use LightSwitch to build a SharePoint application with an HTML client that runs on a variety of mobile devices.
|
(12)
Updated 12/6/2013
Released 11/12/2012
12,688
Downloads
|
|
|
JSLink files have the ability to quickly and easily change how a list views and forms is rendered. More specifically how the fields in that list should be displayed. I wrote those 7 code samples to be easy to understand and to achieve learning purpose ...
|
(6)
Updated 9/22/2013
Released 9/22/2013
891
Downloads
|
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
This sample demonstrates how to authenticate against Microsoft SharePoint Online in client applications using the managed SharePoint client-side object models.
|
(13)
Updated 4/28/2011
Released 4/28/2011
11,642
Downloads
|
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
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 (developer-host
|
(7)
Updated 3/20/2013
Released 7/16/2012
6,178
Downloads
|
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
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 (developer-host
|
(5)
Updated 3/20/2013
Released 7/16/2012
6,237
Downloads
|
|
|
Sometimes while building WebParts or Application Pages, it is needed to display data using a grid, such as with ASP.NET's GridView control. Fortunately SharePoint has its own implementation: SPGridView, which we can use, as explained in the five samples shown below.
|
(9)
Updated 7/4/2011
Released 7/3/2011
7,442
Downloads
|
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
Learn how to use the cross-domain library in apps for SharePoint to read items in a list hosted in the app web.
|
(3)
Updated 11/19/2013
Released 7/16/2012
2,504
Downloads
|
|
|
This sample will demo how to use SPCalendarView to develop a custom calendar in a visual web part
|
(0)
Updated 7/23/2012
Released 7/23/2012
4,939
Downloads
|
|
Download Visual Studio