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
4831 results
Keith Davidson
Using MVC3 and jQuery to allow inline creation of dependent entities.
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 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.
(199)
9/14/2011
585,314 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.
(97)
8/11/2011
82,533 Downloads
C#
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.
(59)
11/29/2011
208,127 Downloads
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 imitate the splash screen that Windows displays for your app by positioning a similar image correctly when Windows dismisses the splash screen that it displays. This sample uses the SplashScreen class in the Windows.Applicati...
(34)
9/14/2011
91,870 Downloads
Tom Dykstra - MSFT - Microsoft
A Visual Studio project which shows how to use the Entity Framework in an ASP.NET MVC web application project, using the Code First development approach.
(66)
4/12/2011
102,413 Downloads
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.
(28)
9/14/2011
65,994 Downloads
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 use an app tile, which is the representation and launch point for your app in the Start screen, and a badge on that tile, which is a method for the app to relay status information to the user when the app is not running.
(25)
2/29/2012
32,152 Downloads
ErikReitan - Microsoft
This download has been created for the ASP.NET 4.5 Web Forms 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 2012 for Web and ASP.NET 4.5.
(10)
4/6/2012
22,190 Downloads
C#
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
In Windows Phone OS 7.1, you can use LINQ to SQL to store relational data in a local database that resides in your application’s isolated storage container. This sample is a to-do list application that uses a multi-table local database. Items that appear in the list are added, u
(8)
8/1/2012
15,723 Downloads
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 demonstrates how to use the ApplicationSettings API and settings flyouts to integrate an app's settings UI with the Settings charm.
(23)
2/29/2012
29,015 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 4831 Items