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
448 results
cakriwut
All previous example to build custom web services for SharePoint requires modification of SPDisco.aspx. In fact this kind of modification is dangerous and considered as unsupported.
This example answer all question on how to build custom web services for SharePoint correctly.
Featured
C#, XML
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
(30)
2/20/2012
45,536 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.
(6)
3/28/2013
4,927 Downloads
C#
LightSwitch Team
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.
(9)
11/12/2012
8,965 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 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-hosted or autohosted) web application.
(7)
7/16/2012
4,213 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 (developer-hosted or autohosted) web application.
(5)
7/16/2012
4,490 Downloads
C#
Fernando A. Gómez
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.
(7)
7/3/2011
5,724 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
This sample demonstrates how to authenticate against Microsoft SharePoint Online in client applications using the managed SharePoint client-side object models.
(13)
4/28/2011
9,174 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 SharePoint-hosted app for SharePoint that uses JavaScript to read and display information about a SharePoint 2013 site.
(8)
7/16/2012
4,420 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
This sample connects to SharePoint Online, authenticates by using claims authentication, and then displays the contents of a SharePoint Online list.
(1)
2/16/2012
4,756 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 Visual Studio 2012 to create a SharePoint 2013 workflow that uses a custom actions and calls an external web service. When calling the web service, the sample workflow makes use of the new DynamicValue data type.
(5)
7/16/2012
2,763 Downloads
C#

Couldn't find the sample you were looking for?

1 - 10 of 448 Items