Developer Code Samples

Download code samples and applications for Windows 8, 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
4269 results
Two examples of using Windows Forms to display UI programmatically in an F# script.
Featured
F#
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 Metro style app code examples developed for Windows 8. The samples in this pack are available in in C#, C++, VB.NET, and JavaScript. The sample pack provides a convenient way to download all the samples at once.
(162)
9/14/2011
384,243 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.
(52)
11/29/2011
148,741 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.
(82)
8/11/2011
56,448 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 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...
(19)
9/14/2011
59,305 Downloads
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.
(59)
4/12/2011
74,314 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.
(24)
9/14/2011
41,733 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 samples demonstrate many of the new features available with Visual Basic 2008 and the .NET Framework 3.5 including hundreds Language Integrated Query (LINQ) samples.
(17)
11/29/2011
33,899 Downloads
This sample uses ASP.NET Web API to build a simple contact manager application. The application consists of a contact manager web API that is used by an ASP.NET MVC application, a Windows Phone application, and a Windows 8 app to display and manage a list of contacts.
(12)
2/16/2012
9,665 Downloads
C#
This sample will teach you the basics of building an ASP.NET MVC Web application using Microsoft Visual Web Developer 2010 Express.
It is part of a tutorial series written by ScottGu, Scott Hanselman and Rick Anderson.
(40)
3/9/2011
40,974 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
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
(3)
8/1/2012
1,086 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 4269 Items