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.
Sort by: rss
9683 results
Visual Studio Product Team

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
- Microsoft
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
C#
S J
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.GetStringAsync to download the contents of a website.
(10)
Updated 2/26/2013
Released 8/22/2012
32,331 Downloads
Official Windows platform sample

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
- Microsoft
This sample shows how to communicate with a USB device by using the Windows.Devices.Usb namespace. The sample can communicate with these devices: The OSR USB FX2 learning kit. You can get the learning kit from OSR Online. , The SuperMUTT device. You ...
(3)
Updated 11/26/2013
Released 6/26/2013
16,995 Downloads
OneCode Team
How to convert excel file to xml format
(16)
Updated 4/13/2015
Released 6/14/2013
65,507 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
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
(43)
Updated 2/28/2012
Released 2/20/2012
83,816 Downloads
Mike Jones (CSI)
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
Samon Malai
Microsoft Office Word Custom Textures and Patterns.Microsoft provide softwares to people, it is our esthetic sense how we use different options in our work to display it usefully, beautifully and attractively, especially for raising students' interest in working on Microsoft Offi
(0)
Updated 3/8/2014
Released 2/27/2014
10,103 Downloads
João Eduardo Sousa
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
C#
.paul. _
 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
dedimax solutions UG
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-relational mappers for clarity. There are three views that show certains features of the Bootstrap framework.
(7)
Updated 6/5/2013
Released 6/5/2013
18,114 Downloads
C#, HTML
João Eduardo Sousa
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
C#

Couldn't find the sample you were looking for?

91 - 100 of 9683 Items