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
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#
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
(2)
Updated 1/30/2017
Released 10/4/2014
110,624 Downloads
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
(4)
Updated 5/12/2014
Released 5/12/2014
27,191 Downloads
C#
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
(1)
Updated 7/24/2017
Released 7/24/2017
22,744 Downloads
C#
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
(125)
Updated 10/24/2016
Released 3/29/2013
282,830 Downloads
ErikReitan
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
(92)
Updated 4/20/2016
Released 4/6/2012
410,501 Downloads
C#
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
(18)
Updated 11/26/2013
Released 9/14/2011
118,539 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
4.1 Star
(11)
Updated 3/12/2011
Released 3/12/2011
84,316 Downloads
OneCode Team - Microsoft
This code sample demonstrates creating a basic Windows Service application in VC++
4.4 Star
(19)
Updated 3/2/2012
Released 1/21/2011
65,193 Downloads
C++
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 an app shares content with another app. This sample uses classes from the Windows.ApplicationModel.DataTransfer namespace. Some of the classes you might want to review in more detail are the DataTransferManager class, whi...
4.6 Star
(12)
Updated 5/13/2014
Released 9/14/2011
32,021 Downloads
Bartosz Rachwał
A Visual Studio 2015 project which shows how use create an Asp.Net MVC Application with a custom layout. The AdminLTE layout (MIT License) from https://almsaeedstudio.com/preview has been selected for the customization.
4.6 Star
(28)
Updated 2/10/2016
Released 2/2/2016
128,853 Downloads
C#
1 - 10 of 10462 Items