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
This sample shows different uses of Query Execution
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
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
OneCode Team - Microsoft
This code sample demonstrates creating a basic Windows Service application in VC++
4.4 Star
Updated 3/2/2012
Released 1/21/2011
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
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
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
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
SautinSoft Team
This is a C # example to convert PDF file to XML via a free C# PDF library. Only the .Net platform and nothing else, 32 and 64-bit support, Medium Trust level, converting of all types of PDF documents, works under Windows, Mac, Linux and a lot of other nuances.
1.5 Star
Updated 2/3/2016
Released 2/3/2016
Daniel Roth - Microsoft
This sample shows how you can use WCF in .NET 4.5 to push notifications to a Windows 8 Metro style application.
3.2 Star
Updated 7/3/2012
Released 6/15/2012
1 - 10 of 10462 Items