The Wayback Machine - http://web.archive.org/web/20160426144922/https://code.msdn.microsoft.com/

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
9175 results
Glenn Gailey [MSFT] - Microsoft
This sample demonstrates how to use WCF Data Services to implement an OData service that uses a streaming provider to store and retrieve image files, along with information about each photo. It includes a client application that enables you to consume and upload new photos.

Featured
C#
Tom Dykstra - MSFT - Microsoft
A Visual Studio 2013 project which shows how to use the Entity Framework 6 in an ASP.NET MVC 5 web application project, using the Code First development approach.
Image Image Image Image Image (152)
Updated 10/22/2015
Released 4/12/2011
467,366 Downloads
C#
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.
Image Image Image Image Image (78)
Updated 4/20/2016
Released 4/6/2012
290,765 Downloads
C#
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.
Image Image Image Image Image (221)
Updated 4/26/2012
Released 8/11/2011
282,407 Downloads
C#
Houssem Dellai
What I build is just a simple calculator that will show beginners how much easy it is to develop applications using the .NET Framework. Through this sample, they will see some most useful algorithmic operations.
C#, WPF, XAML
Image Image Image Image Image (54)
Updated 8/15/2012
Released 8/14/2012
207,670 Downloads
C#
Mike.Wasson - Microsoft
Sample code for the following tutorial on asp.net:Getting Started with ASP.NET Web APIExcerpt 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.
Image Image Image Image Image (34)
Updated 10/22/2013
Released 6/1/2012
125,590 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.
Image Image Image Image Image (24)
Updated 5/12/2014
Released 5/12/2014
123,871 Downloads
C#, HTML
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
These are the official samples for Visual Studio 2010 C# 4.0.
Image Image Image Image Image (101)
Updated 7/17/2012
Released 11/29/2011
546,963 Downloads
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.
Image Image Image Image Image (103)
Updated 8/18/2015
Released 3/29/2013
186,942 Downloads
Jakeinc
Have you just installed Visual Studio and are ready to begin your first code? Then this sample is for you. This sample explains string variables and integer variables, if else statements, and mathematical expressions. These basic skills are necessary in C/F#/C++/VB programming.
C#, C++, F#
Image Image Image Image Image (5)
Updated 2/8/2015
Released 4/22/2013
51,286 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
This project contains about 101 samples using LINQ.
Image Image Image Image Image (85)
Updated 3/13/2012
Released 5/31/2011
158,326 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 9175 Items