Office 365 samples: learn through code

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
107 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 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
26,455 Downloads
C#
OneCode Team - Microsoft
This sample demoed how to upload file to one drive and get a share link to share with REST using web application.
5 Star
(1)
Updated 4/12/2017
Released 8/30/2016
2,688 Downloads
Vitaly V Zhukov

Upload document to SharePoint Library with .NET CSOM

Example project is a simple Console Application created in Visual Studio 2017. This application can be able to work with most of existing SharePoint versions: 2013, 2016, 2019, SharePoint Online.
5 Star
(2)
Updated 7/27/2018
Released 7/27/2018
228 Downloads
C#
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
(6)
Updated 8/23/2016
Released 8/23/2016
5,790 Downloads
SautinSoft Team
This is a C # example to convert DOC (DOCX) files into PDF under .Net using MS Office Automation via a free C# PDF library. Only the .Net platform, installed package of MS Office and nothing else.
2.5 Star
(8)
Updated 1/28/2016
Released 1/28/2016
3,104 Downloads
C#
OneCode Team - Microsoft
This sample demonstrates how to login on office 365 and get account info with REST using web application
1 Star
(1)
Updated 3/13/2017
Released 8/8/2016
1,663 Downloads
C#
OneCode Team - Microsoft
How to export email messages from Office 365 Exchange Online
5 Star
(1)
Updated 9/22/2016
Released 4/24/2014
6,864 Downloads
JayChase
This is a sample project showing how to get started building Office add-ins with Angular 2 and Office UI Fabric. The sample is written in TypeScript and can be run from Visual Studio or Visual Studio Code.
5 Star
(3)
Updated 9/20/2016
Released 7/13/2016
1,683 Downloads
Dave A Gordon
Wow, we have done quite a lot over the last couple of days. Today I will show you the Moravec Corner Detector, and the Histogram viewer that we have created for the application.
3.5 Star
(6)
Updated 1/14/2014
Released 1/14/2014
35,271 Downloads
David Barrett (Microsoft)
PowerShell script that uses EWS to connect to an Exchange mailbox and search for and delete duplicate items.
5 Star
(4)
Updated 2/7/2017
Released 6/19/2015

Couldn't find the sample you were looking for?

1 - 10 of 107 Items