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
5534 results
Official Windows Driver Kit Sample

Official Windows Driver Kit Sample MSFT

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

View Samples
- Microsoft
This sample demonstrates how to use the User-Mode Driver Framework to write a minimal driver and shows best practices.
Featured
C++
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
Download all the code samples developed for apps for SharePoint in a single, convenient package.
(2)
3/28/2013
1,182 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 a MessageDialog for displaying dialogs, setting commands and the actions they will perform, and changing the default button.
(5)
2/29/2012
24,299 Downloads
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
Each code sample is part of the SharePoint 2010 101 code samples project. These samples are provided so that you can incorporate them directly in your code. Each code sample consists of a standalone project created in Microsoft Visual Studio 2010
(30)
2/20/2012
41,023 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 how to use the WebBrowser control in your Windows Phone app.
(6)
8/1/2012
23,024 Downloads
Parallel Computing Platform - Microsoft
This project provides samples and extensions for the parallel programming support in the .NET Framework.
(56)
7/23/2011
56,523 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.
(19)
11/29/2011
58,023 Downloads
Migrated Galleries Content - Microsoft
This sample provides an introduction to the development of a simple WPF application, and demonstrates controls, images, layout, and data binding.
WPF
(3)
3/12/2011
30,035 Downloads
All-In-One Code Framework
This project describes how to populate ASP.NET GridView control and how to implement Insert, Edit, Update, Delete, Paging and Sorting functions in ASP.NET GridView control
(21)
1/21/2011
48,636 Downloads
C#, HTML
Roberto Sonnino - MSFT - Microsoft
This sample contains the starting point for a basic game for Windows Store and Windows Phone, a “Starter Kit” which provides support for consuming runtime assets produced by the VS tools. This includes loading and rendering assets (meshes, textures and shaders).
(19)
11/1/2012
8,384 Downloads
C#, C++
windowsclient.net - Microsoft
This sample creates a product listing application that allows users to enter items for sale.This sample demonstrates various data binding concepts.
(12)
1/31/2011
29,831 Downloads

Couldn't find the sample you were looking for?

21 - 30 of 5534 Items