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
729 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
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.
4.6 Star
(36)
Updated 3/19/2015
Released 9/22/2013
17,425 Downloads
Asprise-OCR-Scan-Scanner-Twain-WIA-Component-API
This code sample shows how to do C# VB.NET OCR and barcode recognition to convert images (in various formats like JPEG, PNG, TIFF, PDF, etc.) into editable document formats (Word, XML, searchable PDF, etc.) and read QR codes and barcodes in formats of EAN-8, EAN-13, UPC-A
C#, WCF, GDI+
4 Star
(5)
Updated 8/23/2016
Released 8/23/2016
4,471 Downloads
Sohel Rana
SharePoint doesn't provide Folder Navigation in List View WebPart when the webpart is added to a page. I've developed a JavaScript File which will use the Client Side Rendering feature of SharePoint 2013 to add Folder Navigation in SharePoint 2013 List View WebPart.
4.5 Star
(27)
Updated 6/17/2015
Released 7/26/2013
12,651 Downloads
Muawiyah Shannak
This JSLink sample allows you to change the priority field text color based on the task priority level (High, Normal and Low).Note: This sample is part from series of samples to learn you how to work with CSR templates.
How to deploy the JSLink templatesYou can deploy those JSLi
4.4 Star
(10)
Updated 3/19/2015
Released 3/1/2014
5,625 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.
3.4 Star
(28)
Updated 4/28/2011
Released 4/28/2011
24,997 Downloads
C#
Shawn Cicoria
This solution gives you a simple WOPI Host that provides viewing, and editing through Office Web Apps via a custom WOPI Server. Illustrates the implementation of WOPI for a Server in a working example.
4.8 Star
(14)
Updated 10/15/2015
Released 7/22/2013
8,606 Downloads
C#
Nikhil ahuja
Sample DOwnload a file which is inside SharePoint OnlinePrior to work with the sample you must have an SharePoint online Site. A File uploaded anywhere on SharePoint.Run the Sample and ENter the info1. SiteUrl: Url of SharePoint Site.2. User Name : Name of the authenticated user
4.5 Star
(2)
Updated 11/30/2014
Released 11/30/2014
2,421 Downloads
C#
Lydia at E-iceblue
As a standalone C#/VB.NET component, Free Spire.PDF for .NET enables developers to create, write, edit, convert, print, handle and read PDF files on any .NET applications. This code show you how to create visible digital signature in PDF with C#.
No Star
(0)
Updated 8/12/2014
Released 8/12/2014
1,488 Downloads
C#
SautinSoft Team
This is a C # example to convert PDF file to XML via a free C# PDF library. Only the .Net platform and nothing else, 32 and 64-bit support, Medium Trust level, converting of all types of PDF documents, works under Windows, Mac, Linux and a lot of other nuances.
1.6 Star
(5)
Updated 2/3/2016
Released 2/3/2016
2,496 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
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
4.5 Star
(45)
Updated 2/28/2012
Released 2/20/2012
87,819 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 729 Items