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
Azure QuickStarts - Microsoft
A set of simple .NET sample applications that can help you understand how to accomplish key tasks with Microsoft Azure using the Azure SDK for .NET.
Featured
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,950 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,525 Downloads
C#
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,199 Downloads
C#
Cephas Lin - Microsoft
The samples environments for Microsoft Chart Controls for .NET Framework 4 contain over 200 samples for both ASP.NET and Windows Forms, covering every major feature in Chart Controls for .NET Framework 4. See every major feature in action and learn at the same time.
4.4 Star
(33)
Updated 10/19/2017
Released 5/13/2014
211,252 Downloads
C#, HTML
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,918 Downloads
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
112,516 Downloads
SYEDSHANU - MVP
In this article we will see how to use ASP.NET Identity in MVC Application for creating user roles and displaying the menu depending on user roles.Here we will see how to: 
Create default admin role and other roles. Create default admin users. Add Username for new User Registrat
4.2 Star
(40)
Updated 6/19/2019
Released 1/14/2016
51,918 Downloads
C#, SQL, HTML, XML
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.
4.8 Star
(237)
Updated 4/26/2012
Released 8/11/2011
347,009 Downloads
C#
Delordson
The Visual Studio LightSwitch team have given us the HTML Client. Hooray! Here's my Golf Club sample updated from the original preview version.
4.6 Star
(5)
Updated 4/7/2013
Released 7/8/2012
2,648 Downloads
Cephas Lin - Microsoft
Download a Visual Studio 2010 solution that contains all the samples targeting .NET Framework 4.The samples environment for Microsoft Chart Controls for .NET Framework contains over 200 samples for both ASP.NET and Windows Forms, covering every major feature.
3.5 Star
(2)
Updated 5/13/2014
Released 5/12/2014
12,774 Downloads
1 - 10 of 10462 Items