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
105 results
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
2,926 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.
3.4 Star
(28)
Updated 4/28/2011
Released 4/28/2011
26,076 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,372 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
(6)
Updated 8/23/2016
Released 8/23/2016
5,577 Downloads
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,744 Downloads
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,566 Downloads
C#
Asprise-OCR-Scan-Scanner-Twain-WIA-Component-API
Scanner.js enables HTML JavaScript scanning in web browsers (Chrome, Edge, Firefox, IE). Scan documents from TWAIN WIA scanners in browsers and upload to the server side (C# VB ASP.NET, PHP, etc.). Document scanning from both flatbed ADF scanners and webcams; barcode reading.
4.5 Star
(2)
Updated 8/19/2016
Released 8/19/2016
1,740 Downloads
OneCode Team
How to Get Availability Details in Office 365
5 Star
(1)
Updated 9/22/2016
Released 4/10/2014
3,867 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
133 Downloads
C#
Christian Vorhemus
This is a sample UWP (Universal Windows Platform) app based on JavaScript that implements Microsoft Graph SDK to demonstrate file upload to Sharepoint, eMail inbox access, eMail send requests and calendar event access.
5 Star
(1)
Updated 10/2/2017
Released 9/28/2017
235 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 105 Items