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
10462 results
Migrated Galleries Content - Microsoft
The AdventureWorks Data Binding sample demonstrates data binding that uses the Entity Framework. This application displays and modifies SalesOrderDetail entities associated with SalesOrderHeader entities.
Arshad Nadeem

I am a skilful person, working on graph is my favourite from childhood. Yes, i am working in Windows 8.1 today and on graph, but using grid has weekend my eye sight. I am doing so as it is my hobby. I have created lot of designs in past few years, now the idea
to sell th
4.5 Star
Updated 1/30/2017
Released 10/4/2014
Cephas Lin - Microsoft
Download a Visual Studio 2010 solution that contains all the Windows Forms samples targeting .NET Framework 4. The samples environment for Microsoft Chart Controls for .NET Framework contains over 200 samples covering every major feature.
5 Star
Updated 5/12/2014
Released 5/12/2014
Raimund Andrée
IntroductionThe Active Directory PowerShell Module is great for managing users, groups and other resources in Active Directory. What is currently missing are cmdlets or functions to manage the replication infrastructure like sites, site links and subnets. This module
provides s
5 Star
Updated 5/5/2011
Released 5/5/2011
John Howard -MSFT
HVRemote reduces the manual configuration steps needed for Hyper-V Remote Management down to a few simple commands, and can diagnose common configuration errors.
4.7 Star
Updated 10/24/2016
Released 3/29/2013
Eriawan Kusumawardhono
Sample code of Getting Started with ASP.NET Web API 2Excerpt from the tutorial: HTTP is not just for serving up web pages. It is also a powerful platform for building APIs that expose services and data. HTTP is simple, flexible, and ubiquitous.
4 Star
Updated 7/24/2017
Released 7/24/2017
This download has been created for the ASP.NET 4.5 Web Forms and Visual Studio 2013 (Wingtip Toys) tutorial series. This series of tutorials guides you through the steps required to create an ASP.NET Web Forms application using Visual Studio Express 2013 for Web and ASP.NET 4.5.
4.3 Star
Updated 4/20/2016
Released 4/6/2012
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 demonstrates how to use the Windows.Media.Capture.CameraCaptureUI API, which displays a full-screen UI for capturing photos or videos. The Camera Capture UI provides controls for switching from photo to video, a timer for taking time-dela...
4.1 Star
Updated 11/26/2013
Released 9/14/2011
John Howard -MSFT
Convert-VMGeneration converts a Hyper-V generation 1 virtual machine running on Windows Server 2012 R2 or Windows 8.1 to generation 2.
4.6 Star
Updated 12/12/2013
Released 10/23/2013
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.
4.1 Star
Updated 3/12/2011
Released 3/12/2011
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
Updated 4/28/2011
Released 4/28/2011
1 - 10 of 10462 Items