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
OneCode Team - Microsoft
The sample demonstrates how to bind the ASP.NET Menu Control to the Database.
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
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
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
4.9 Star
Updated 10/25/2011
Released 7/30/2011
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.
4.6 Star
Updated 7/26/2012
Released 4/28/2011
Tom Dykstra - MSFT - Microsoft
The Contoso University application created by the first of two Web Forms tutorial series at 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
Updated 11/19/2013
Released 3/9/2011
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
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
Updated 6/6/2013
Released 6/6/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
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
Updated 4/26/2012
Released 8/11/2011
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
Updated 10/19/2017
Released 5/13/2014
1 - 10 of 10462 Items