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
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 pack includes all the app code examples developed and updated for Windows Phone 8.1, including app code examples created using any of the universal app templates available in Microsoft Visual Studio.
Featured
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,643 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#
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
(2)
Updated 5/5/2011
Released 5/5/2011
9,852 Downloads
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
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
(90)
Updated 12/12/2013
Released 10/23/2013
40,886 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
This sample demonstrates how to authenticate against Microsoft SharePoint Online in client applications using the managed SharePoint client-side object models.
3.4 Star
(28)
Updated 4/28/2011
Released 4/28/2011
26,866 Downloads
C#
1 - 10 of 10462 Items