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.
|
This sample was verified and tested by Windows SDK team.
Official Windows platform sample
- Microsoft
Official Windows platform sample MSFT Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience. View samplesThis sample pack includes the app code examples developed and updated using one of the universal app templates available in Microsoft Visual Studio. Each solution of a universal app code example is structured so the code example can run on both Windows 8.1 and Windows Phone 8.1 |
Featured
|
|
|
This sample was verified and tested by Windows SDK team.
Official Windows platform sample
- Microsoft
Official Windows platform sample MSFT Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience. View samples
Demonstrates use of the Bluetooth Generic Attribute Profile (Gatt) Windows Runtime API to interact with a Bluetooth Gatt device, which contains a Heart Rate Service.
|
(7)
Updated 9/4/2014
Released 6/26/2013
23,828
Downloads
|
|
|
This sample was verified and tested by Windows SDK team.
Official Windows platform sample
- Microsoft
Official Windows platform sample MSFT Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience. View samples
This sample demonstrates how to use the ODBC APIs to connect to and access a database.
|
(4)
Updated 10/17/2013
Released 2/29/2012
32,506
Downloads
|
|
|
This sample contains the complete code for the following ASP.NET Web API tutorial:Depend
|
(5)
Updated 2/25/2014
Released 6/7/2012
21,736
Downloads
|
|
|
This project provides samples and extensions for the parallel programming support in the .NET Framework.
|
(79)
Updated 9/28/2011
Released 7/23/2011
115,734
Downloads
|
|
|
The Format Utility (Formatter.exe) is a Windows Forms application that allows you to apply standard or custom format strings to either numeric values or date and time values and to determine how they affect the result string.
|
(5)
Updated 3/11/2012
Released 3/10/2012
19,017
Downloads
|
|
|
This sample contains the finished code for the tutorial Sending HTML Form Data.[Excerpt from the tutorial follows]This tutorial shows how to upload files to a web API. It also describes how to process multipart MIME data.Here is an example of an HTML form for uploading a file:<fo
|
(8)
Updated 9/21/2012
Released 9/21/2012
22,703
Downloads
|
|
|
This sample is to accompany the blog at :http://charpco
|
(12)
Updated 1/7/2012
Released 12/21/2011
16,110
Downloads
|
|
|
http://www.asp.
|
(13)
Updated 9/15/2012
Released 6/1/2012
52,787
Downloads
|
|
|
This sample was verified and tested by Microsoft Office Developer Documentation Team.
Microsoft Office Developer Documentation Team
- Microsoft
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
Download all the code samples developed for apps for SharePoint in a single, convenient package.
|
(25)
Updated 6/29/2015
Released 3/28/2013
37,065
Downloads
|
|
|
The sample provided is a Hello World application that targets the Universal Windows Platform (UWP) on Windows 10, written using Extensible Application Markup Language (XAML) with C#.
|
(0)
Updated 9/22/2016
Released 3/31/2016
4,889
Downloads
|
|
Download Visual Studio