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
Windows Azure Product Team

Windows Azure Product Team MSFT

Microsoft Azure Product Team samples are developed and tested by the Microsoft Azure Product Team to ensure that you have a great experience.

View samples
- Microsoft
The Windows Azure HelloWorld sample demonstrates how to create a simple ASP.NET web role that can be deployed to Windows Azure. The Diagnostics module is imported into the sample and is ready to collect the default diagnostic data.
Featured
C#, XML
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
283,057 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,534 Downloads
C#
Carl Nolan
The purpose of the Html Editor is to provide Html Editing capabilities within a WinForms control. The control should emulate the operations that are available within a Rich Text control, but have information persisted and restored from an Html BODY element.Html Editor Goals
The
4.9 Star
(23)
Updated 10/25/2011
Released 7/30/2011
54,016 Downloads
C#
Matthew Manela
This sample shows how to convert from HTML to RTF and from RTF to HTML. It makes use of the WPF RichTextBox to convert to XAML first and then to RTF or HTML.
WPF
4.6 Star
(34)
Updated 7/26/2012
Released 4/28/2011
32,911 Downloads
C#
Tom Dykstra - MSFT - Microsoft
The Contoso University application created by the first of two Web Forms tutorial series at http://asp.net/entity-framework/tutorials/. Continues to be provided alongside version 2 so that it can be used as a starting point for working through the second tutorial series.
4.5 Star
(37)
Updated 11/19/2013
Released 3/9/2011
147,665 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,936 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 shows you how to use the Exchange Web Services (EWS) Managed API to add delegates to an account.
No Star
(0)
Updated 6/6/2013
Released 6/6/2013
542 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,561 Downloads
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,013 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,258 Downloads
C#, HTML
1 - 10 of 10462 Items