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

Developer code samples

Download code samples and applications for Windows 8, Windows Phone, Windows 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
6859 results
Windows Phone SDK Team

Windows Phone SDK Team MSFT

Windows Phone SDK samples are developed and tested by the Windows Phone SDK Team to ensure that you have a great experience.

View samples
- Microsoft
This sample demonstrates how to activate the camera shutter and auto focus, configure picture resolution and flash settings, and use the hardware shutter button.
Featured
Official Windows SDK Sample

Official Windows SDK Sample MSFT

Windows SDK samples are developed and tested by the Windows team to ensure that you have a great experience.

View samples
- Microsoft
This sample pack includes all the app code examples developed and updated for Windows 8.1. The sample pack provides a convenient way to download all the samples at once. The samples in this sample pack are available in C#, Visual Basic, C++, and JavaScript.
Image Image Image Image Image (279)
Updated 12/12/2013
Released 9/14/2011
911,708 Downloads
Microsoft - Visual Studio Platform Team

Microsoft - Visual Studio Platform 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 (83)
Updated 7/17/2012
Released 11/29/2011
372,256 Downloads
Microsoft - Visual Studio Platform Team

Microsoft - Visual Studio Platform 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 (165)
Updated 4/26/2012
Released 8/11/2011
166,718 Downloads
C#
Official Windows SDK Sample

Official Windows SDK Sample MSFT

Windows SDK samples are developed and tested by the Windows team to ensure that you have a great experience.

View samples
- Microsoft
This sample shows how to create, read, write, copy and delete a file, how to retrieve file properties, and how to track a file or folder so that your app can access it again. This sample uses Windows.Storage and Windows.Storage.AccessCache API.
Image Image Image Image Image (41)
Updated 11/26/2013
Released 9/14/2011
130,127 Downloads
Chuck Walbourn - MSFT
This is the DirectX SDK's Direct3D 11 SimpleBezier11 and SubD11 samples updated to use Visual Studio 2012 and the Windows SDK 8.0 without any dependencies on legacy DirectX SDK content.
Image Image Image Image Image (1)
Updated 9/18/2013
Released 9/14/2013
6,169 Downloads
C++
Official Windows SDK Sample

Official Windows SDK Sample MSFT

Windows SDK samples are developed and tested by the Windows team to ensure that you have a great experience.

View samples
- Microsoft
This sample pack includes all the app code examples developed and updated for Windows 8. The sample pack provides a convenient way to download all the samples at once. The samples in this sample pack are available in C#, C++, VB.NET, and JavaScript.
Image Image Image Image Image (13)
Updated 10/17/2013
Released 10/17/2013
24,425 Downloads
Windows Phone SDK Team

Windows Phone SDK Team MSFT

Windows Phone SDK samples are developed and tested by the Windows Phone SDK Team to ensure that you have a great experience.

View samples
- Microsoft
This sample shows you how to use LINQ to SQL to store relational data in a local database that resides in your app’s storage container.
Image Image Image Image Image (42)
Updated 5/4/2013
Released 8/1/2012
97,736 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 (57)
Updated 9/9/2013
Released 3/29/2013
61,819 Downloads
ErikReitan - Microsoft
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 (25)
Updated 1/1/2014
Released 4/6/2012
86,467 Downloads
C#
Tom Dykstra - MSFT - Microsoft
A Visual Studio project which shows how to use the Entity Framework 5 in an ASP.NET MVC 4 web application project, using the Code First development approach.
Image Image Image Image Image (83)
Updated 11/1/2013
Released 4/12/2011
198,997 Downloads
C#

Couldn't find the sample you were looking for?

1 - 10 of 6859 Items