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
9981 results
Migrated Galleries Content - Microsoft
The AdventureWorks Data Binding sample demonstrates data binding that uses the Entity Framework. This application displays and modifies SalesOrderDetail entities associated with SalesOrderHeader entities.
Featured
Vaikesh K P
In this article I'm going to create a page with a Map and I will place a pin to show my location in that map
3 Star
(1)
Updated 7/14/2015
Released 7/14/2015
3,712 Downloads
C#
chriga
This sample shows how to create your own simple plugin mechanism.There are situations where you want to extend your application without changing existing code. So you need only to deliver new assemblies. Also other developers could extend your application. There are several mecha
4.8 Star
(19)
Updated 1/22/2015
Released 1/10/2013
19,016 Downloads
André Secco
A Visual Studio 2015 project which shows how to use the Microsoft Bot Framework V1 in an ASP.NET Web API web application project to create a chat bot, using the API "LUIS" - Language Understanding Intelligent Services (Cognitive Services APIs)
5 Star
(11)
Updated 8/5/2016
Released 7/26/2016
6,347 Downloads
C#
JayChase
This sample demonstrates how to create a file manager with AngularJS and Web API. It consists of an AngularJS single page application which allows a user to browse and delete images files from the server (IIS or IIS Express) and upload new files as well.
4.3 Star
(13)
Updated 4/7/2015
Released 11/11/2014
13,147 Downloads
C#, HTML
Chuck Walbourn - MSFT
The D3D11InstallHelper sample is designed to simplify detection of the Direct3D 11 API, automatically install the system update if applicable to an end-user's computer, and to provide appropriate messages to the end-user on manual procedure if a newer Service Pack is required.
5 Star
(3)
Updated 10/12/2015
Released 5/22/2012
72,951 Downloads
C++
S J
The sample is a WPF application that contains the example method from Asynchronous Progamming with Async and Await (C# and VB). The sample contains an async method that's used as an illustration. It uses HttpClient.GetStringAsync to download the contents of a website.
4.7 Star
(10)
Updated 2/26/2013
Released 8/22/2012
35,150 Downloads
razorx83
How To Create Webcam Capture
4 Star
(9)
Updated 7/20/2011
Released 7/12/2011
48,674 Downloads
Official Windows platform sample

Official Windows platform sample MSFT

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

View samples
- Microsoft
This sample demonstrates how to use the MediaCapture API to capture video, audio, and pictures from a capture device, such as a webcam.
3.9 Star
(26)
Updated 4/2/2014
Released 9/14/2011
93,626 Downloads
João Eduardo Sousa
Using MVC, Entity Framework, ASP.NET Scaffolding you can create a web application that stores your information. This demo shows you how to create a ASP.NET 5 web application with MVC and Entity Framework 7.
4.7 Star
(15)
Updated 12/18/2015
Released 12/17/2015
8,114 Downloads
C#
Samuel dos Anjos
For a long time, I have been looking for a good way to capture images without too much trouble. All you need to do is call one method to get the image.I have used Windows Image Acquisition (WIA) to capture images. WIA provides a great deal of compatibility with webcams already ru
4.3 Star
(3)
Updated 4/5/2013
Released 4/5/2013
28,265 Downloads
C#

Couldn't find the sample you were looking for?

81 - 90 of 9981 Items