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
Migrated Galleries Content - Microsoft
This sample demonstrates how to modify the navigation of your application by manipulating its back navigation history, called the back stack.
Featured
Migrated Galleries Content - Microsoft
This sample demonstrates how to create a custom tab that appears on the Ribbon of a Microsoft Office Excel worksheet. This custom Ribbon demonstrates most of the controls available in the Office Ribbon Controls group of the Visual Studio Toolbox.
(0)
Updated 6/17/2011
Released 6/2/2011
4,367 Downloads
Migrated Galleries Content - Microsoft
This sample demonstrates how to create a custom tab that appears on the Ribbon of a Microsoft Office Excel worksheet. This custom Ribbon demonstrates most of the controls available in the Office Ribbon Controls group of the Visual Studio Toolbox.
(0)
Updated 6/20/2011
Released 6/2/2011
5,606 Downloads
Migrated Galleries Content - Microsoft
This sample provides an introduction to the development of a simple WPF application, and demonstrates controls, images, layout, and data binding.
WPF
(5)
Updated 3/12/2011
Released 3/12/2011
47,881 Downloads
Migrated Galleries Content - Microsoft
A basic example of how to use LINQ To SQL to query a database.
(1)
Updated 7/8/2011
Released 5/27/2011
4,868 Downloads
Migrated Galleries Content - Microsoft
The sample provides a step by step guide to building your first RIA services application. The application we will be building here is an HR Application for an Enterprise
(41)
Updated 9/15/2011
Released 4/1/2011
72,019 Downloads
Migrated Galleries Content - Microsoft
This sample demonstrates how to create a WPF Forms solution that checks user input with validation code, demonstrates common controls such as DataGrid and ComboBox, and shows typical data manipulation including create, read, update, and delete.
(16)
Updated 2/18/2011
Released 2/17/2011
47,226 Downloads
Migrated Galleries Content - Microsoft
Contains two forms that have split-pane windows, similar to Windows Explorer.
(5)
Updated 6/9/2011
Released 6/9/2011
6,622 Downloads
Migrated Galleries Content - Microsoft
The sample is a short introduction to System.Xml.Linq. It takes your familiarity with the XML DOM API as a starting point. The goal is to illustrate how to construct a predefined XML document by using LINQ to XML.
(0)
Updated 4/6/2012
Released 5/27/2011
1,350 Downloads
Migrated Galleries Content - Microsoft
Shows how to bind data to ComboBox and DataGridView controls.
(4)
Updated 5/27/2011
Released 5/24/2011
7,050 Downloads
Migrated Galleries Content - Microsoft
This sample demonstrates how to modify the navigation of your application by manipulating its back navigation history, called the back stack.
(1)
Updated 9/12/2011
Released 9/12/2011
5,206 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 111 Items