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
9621 results
bradygaster
PhluffyFotos is a Picture Gallery Service where users can upload their pictures from the web or mobile device. Users can upload, tag, and share photos in this sample.
Featured
C#
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 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.
(28)
Updated 10/17/2013
Released 10/17/2013
116,880 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
(8)
Updated 3/12/2011
Released 3/12/2011
72,236 Downloads
CLR User Education team - Microsoft
The Format Utility (Formatter.exe) is a Windows Forms application that allows you to apply standard or custom format strings to either numeric values or date and time values and to determine how they affect the result string.
(5)
Updated 3/11/2012
Released 3/10/2012
18,452 Downloads
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
(15)
Updated 1/22/2015
Released 1/10/2013
16,440 Downloads
Ellen Ramcke
My sample demonstrates how You can use TcpListener and TcpClient classes and also how to use asynchronous read. This sample supports full OOP
(9)
Updated 7/3/2012
Released 1/5/2012
20,482 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 shows how to communicate with a USB device by using the Windows.Devices.Usb namespace. The sample can communicate with these devices: The OSR USB FX2 learning kit. You can get the learning kit from OSR Online. , The SuperMUTT device. You ...
(3)
Updated 11/26/2013
Released 6/26/2013
16,499 Downloads
OneCode Team
How to convert excel file to xml format
(16)
Updated 4/13/2015
Released 6/14/2013
65,012 Downloads
Tom Dykstra - MSFT - Microsoft
The Contoso University application created by the first of two Web Forms tutorial series at http://asp.net/entity-framework/tutorials/. Continues to be provided alongside version 2 so that it can be used as a starting point for working through the second tutorial series.
(37)
Updated 11/19/2013
Released 3/9/2011
141,555 Downloads
Reed Kimble
This sample is now obsolete. See the description for a link to the replacement sample.
(9)
Updated 3/22/2015
Released 6/2/2012
43,340 Downloads
Mike.Wasson - Microsoft
This sample contains the finished code for the tutorial Sending HTML Form Data.[Excerpt from the tutorial follows]This tutorial shows how to upload files to a web API. It also describes how to process multipart MIME data.Here is an example of an HTML form for uploading a file:<fo
(8)
Updated 9/21/2012
Released 9/21/2012
22,212 Downloads
C#

Couldn't find the sample you were looking for?

91 - 100 of 9621 Items