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
9580 results
Visual Studio Product Team

Visual Studio Product 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
This sample shows different uses of Restriction Operators.
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.
(25)
Updated 6/29/2015
Released 3/28/2013
36,705 Downloads
OneCode Team - Microsoft
The sample provided is a Hello World application that targets the Universal Windows Platform (UWP) on Windows 10, written using Extensible Application Markup Language (XAML) with C#.
(0)
Updated 9/22/2016
Released 3/31/2016
3,392 Downloads
Pantelis44999
This sample is to accompany the blog at :http://charpcoder.wordpress.com/2011/12/21/serial-port-programming-part-1a-very-brief-introduction/It will be updated more or less daily until completion. If you'd like any particular questions addressed please let me know.The blog article
(11)
Updated 1/7/2012
Released 12/21/2011
15,574 Downloads
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 demonstrates how a desktop app can display a toast notification and respond to events generated by the user's interaction (or lack of interaction) with the toast.
(11)
Updated 10/17/2013
Released 2/29/2012
28,382 Downloads
C#, C++
.paul. _
For improved printing encapsulated in an extended DGV, see:https://code.msdn.microsoft.com/ExtendedDataGridView-5fa651f7Here's an example i wrote to answer a Code Gallery request.The example shows how to print text + a multiple page DataGridView using a PrintDocument Component +
(7)
Updated 11/12/2016
Released 6/13/2012
18,196 Downloads
Francis M. Austria
KiksApp - Enterprise application architecture guide using Onion architecture, ASP.net MVC 5, ASP.net Web API 2, AngularJS 1.3, Entity Framework 6, Autofac Automapper, Bootstrap, Google Material Design etc.
(5)
Updated 8/18/2016
Released 8/17/2015
5,799 Downloads
C#
_Sharad
This is real time chat application, with option to chat with multiple users.This can be treated as a sample to develope an enterprise chat/chat rooms application, also this can be treated as a sample to organize our hubs and angular js code for simple applications and a simple
(0)
Updated 8/20/2016
Released 8/29/2015
2,032 Downloads
C#
Houssem Dellai
This application will show you the simplest way to transfer messages through Sockets between many connected users on the same network.
(10)
Updated 9/19/2012
Released 8/18/2012
40,236 Downloads
C#
Tom Dykstra - MSFT - Microsoft
Most Azure Cloud Service sample apps are more complex than they need to be for a quick introduction to Cloud Services. This sample app is as simple as possible while still including both web role and worker role and using Azure queues to coordinate work between the roles.
(7)
Updated 12/28/2015
Released 5/12/2014
17,132 Downloads
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,564 Downloads

Couldn't find the sample you were looking for?

81 - 90 of 9580 Items