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 Visual Studio Product Team.
Visual Studio Product Team
- Microsoft
Visual Studio Product Team MSFT Visual Studio Platform Team samples are developed and tested by the Visual Studio Platform Team to ensure that you have a great experience. View samples
Learn how to use LINQ in your applications with these code samples, covering the entire range of LINQ functionality and demonstrating LINQ with SQL, DataSets, and XML.
|
Featured
|
|
|
The sample is a WPF application that contains the example method from Asynchronous Progamming with Async and Await (C# and VB). The sample contains an async method that's used as an illustration. It uses HttpClient.GetS
|
(10)
Updated 2/26/2013
Released 8/22/2012
32,331
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 shows how to communicate with a USB device by using the Windows.Devices
|
(3)
Updated 11/26/2013
Released 6/26/2013
16,995
Downloads
|
|
|
How to convert excel file to xml format
|
(16)
Updated 4/13/2015
Released 6/14/2013
65,507
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
Each code sample is part of the SharePoint 2010 101 code samples project. These samples are provided so that you can incorporate the
|
(43)
Updated 2/28/2012
Released 2/20/2012
83,816
Downloads
|
|
|
This sample provides a version of the Ionic Starter Template for SideMenu that works with Visual Studio Tools for Apache Cordova, Windows 8.1, and Windows Phone 8.1. The template includes the Ionic Framework and AngularJS. The app also targets Android and iOS.
|
(4)
Updated 7/16/2015
Released 2/6/2015
12,852
Downloads
|
|
|
Microsoft Office Word Custom Textures and Patterns.Micros
|
(0)
Updated 3/8/2014
Released 2/27/2014
10,103
Downloads
|
|
|
Using MVC, Entity Framework, and ASP.NET Scaffolding, you can create a web application that provides an interface to an existing database table. This demo shows you how to automatically generate code that enables users to display, edit, create, and delete
data that resides on t |
(7)
Updated 11/8/2015
Released 11/8/2015
4,043
Downloads
|
|
|
Hangman is a guessing game for two players, in this case you versus your computer.
In this version, the word to guess is represented by a row of dashes, which are replaced by underlined uppercase letters if you guess a letter correctly. If you choose ten incorrect letters befo |
(2)
Updated 2/6/2016
Released 3/26/2013
13,153
Downloads
|
|
|
This sample demonstrates how to use Bootstrap with ASP.NET MVC 4 and provides a sample layout. The sample has only a single controller and doesn't use any object-relation
|
(7)
Updated 6/5/2013
Released 6/5/2013
18,114
Downloads
|
|
|
MVC5 – Demo with Entity Framework 6 on Visual Studio 2013
Using MVC, Entity Framework, and ASP.NET Scaffolding, you can create a web application that provides an interface to an existing database. |
(26)
Updated 10/2/2014
Released 1/1/2014
23,767
Downloads
|
|
Download Visual Studio