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
431 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
Learn how to submit a search query to Search in SharePoint 2013 from within an app for SharePoint.
Featured
C#
SharePoint Developer Team - Microsoft
This sample of a Visual WebPart demonstrates how to list all of the site collections on the local SharePoint server. For the selected site collection it displays statistical data for each list within the site collection. For any questions, visit http://social.msdn.microsoft.com/F
(1)
8/3/2012
1,344 Downloads
All-In-One Code Framework - Microsoft
This sample will demo how to set home page for publishing sites programatically.
(0)
12/4/2012
1,745 Downloads
C#
All-In-One Code Framework - Microsoft
Add alert function for SharePoint 2010 disscussion board
(0)
5/11/2012
3,092 Downloads
All-In-One Code Framework - Microsoft
This sample code will demonstrate how to implement Pagination through SPquery
(0)
7/23/2012
2,088 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 perform basic tasks using the JavaScript object model (JSOM) in an app for SharePoint. This sample also shows how to use the JSOM in a SharePoint-hosted html page.
(0)
9/18/2012
752 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 new external content type based on an OData source and an external data list to display the data from the external system.
(3)
7/16/2012
1,221 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
Demonstrates how to create and manage a list of alerts that you can then display in the host web. This allows, for example, the IT department to manage a set of alerts and then display them to users programmatically.
(0)
4/26/2013
65 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 calls the SharePoint Search web service from a Silverlight application.
(1)
2/16/2012
1,899 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
IntroductionThe Microsoft SharePoint 2010 Web Part framework enables the user to configure a Web Part through Web Part properties. A default user interface (UI) is given for each Web Part property that is exposed to the user in the Edit Tool pane of the Web Part. For example, a p
(4)
6/6/2011
2,096 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
Demonstrates using JavaScript and jQuery in an app for SharePoint to implement a relatively complex, real-world scenario for managing sales leads as they pass through various stages in a sales pipeline.
(5)
5/3/2013
38 Downloads
C#

Couldn't find the sample you were looking for?

81 - 90 of 431 Items