Developer code samples

Download code samples and applications for Windows 8, Windows Phone, Microsoft Azure, Office, SharePoint, Silverlight and other products. You can also explore the Official Visual Studio C#, VB.NET, and 101 LINQ samples.New samples are added frequently in JavaScript, C++, C#, Visual Basic, and F#.
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
982 results in sharepoint [Clear]
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
Learn how to create a basic SharePoint-hosted app for SharePoint that uses JavaScript to read and display information about a SharePoint 2013 site.
4.1 Star
(10)
Updated 8/14/2015
Released 7/16/2012
Alon Havivi
This sample SharePoint-hosted app demonstrates how to add the chrome control to your app for SharePoint. With the chrome control, you can develop a user experience that resembles the user experience in the SharePoint website that your app is deployed
to.The markup that declares
No Star
(0)
Updated 8/12/2013
Released 8/12/2013
907 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 use the cross-domain library in a SharePoint-hosted app to read the host web title by using the Representational State Transfer (REST) service.
2.4 Star
(8)
Updated 11/20/2013
Released 11/19/2013
2,299 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
We replaced this sample with a newer sample on GitHub.
No Star
(0)
Updated 3/24/2015
Released 2/28/2014
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.
4.3 Star
(12)
Updated 7/4/2011
Released 7/3/2011
12,611 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
Provides a brief introduction to using the SharePoint 2013 object model to support advanced workflow development scenarios.
3.8 Star
(5)
Updated 3/8/2013
Released 7/16/2012
2,425 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 code sample demonstrates how to migrate an on-premise SharePoint 2010 application to SharePoint Online using the JavaScript object model.
4 Star
(2)
Updated 2/28/2013
Released 2/28/2013
393 Downloads
Neha_m
This article demonstrates user Permissions in SharePoint-hosted apps in SharePoint 2013 with attention to a multiple user scenario. It also tries to populate selective items from a SharePoint site to a SharePoint-hosted app using REST calls.
No Star
(0)
Updated 5/31/2013
Released 5/31/2013
720 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
Integrate location information and maps into SharePoint lists and location-based web and mobile apps for SharePoint by using the new Geolocation field.
4.3 Star
(3)
Updated 2/6/2013
Released 7/16/2012
482 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 Microsoft SharePoint 2010 managed client object model to read and write data in SharePoint sites from Microsoft .NET Framework–based applications. This sample accompanies the article Accessing SharePoint 2010 Data with the .NET Client Object Model in the MSDN
4.9 Star
(7)
Updated 7/27/2011
Released 7/27/2011
3,075 Downloads
C#

Couldn't find the sample you were looking for?

1 - 10 of 982 Items