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
10464 results
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
Learn how to submit a search query to Search in SharePoint 2013 from within an app for SharePoint.
Samon Malai
Microsoft Office Word Custom Textures and Patterns.Microsoft provide softwares to people, it is our esthetic sense how we use different options in our work to display it usefully, beautifully and attractively, especially for raising students' interest in working on Microsoft Offi
No Star
Updated 3/2/2017
Released 2/27/2014
Tom Dykstra - MSFT - Microsoft
A Visual Studio 2013 project which shows how to use the Entity Framework 6 in an ASP.NET MVC 5 web application project, using the Code First development approach.
4.4 Star
Updated 2/11/2017
Released 4/12/2011
Arshad Nadeem

I am a skilful person, working on graph is my favourite from childhood. Yes, i am working in Windows 8.1 today and on graph, but using grid has weekend my eye sight. I am doing so as it is my hobby. I have created lot of designs in past few years, now the idea
to sell th
4.5 Star
Updated 1/30/2017
Released 10/4/2014
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
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.
4.8 Star
Updated 4/26/2012
Released 8/11/2011
In this article we will see how to use ASP.NET Identity in MVC Application for creating user roles and displaying the menu depending on user roles.Here we will see how to: 
Create default admin role and other roles. Create default admin users. Add Username for new User Registrat
4.2 Star
Updated 6/19/2019
Released 1/14/2016
Aryan Mesgari
In this chapter we want to write Scientific Calculator application .
The following steps show how to write a advanced Calculator:
1. First, Click New Project in Start Page Or On File Menu .
2. In New Project Dialog , Click .....
4 Star
Updated 4/4/2019
Released 11/23/2016
John Howard -MSFT
HVRemote reduces the manual configuration steps needed for Hyper-V Remote Management down to a few simple commands, and can diagnose common configuration errors.
4.7 Star
Updated 10/24/2016
Released 3/29/2013
Cephas Lin - Microsoft
The samples environments for Microsoft Chart Controls for .NET Framework 4 contain over 200 samples for both ASP.NET and Windows Forms, covering every major feature in Chart Controls for .NET Framework 4. See every major feature in action and learn at the same time.
4.4 Star
Updated 10/19/2017
Released 5/13/2014
ravi ranjan pandey
This Project is a simple Login Form desktop application using Windows Forms and C#.NET.It is a good resource for a beginner in C# to learn the basics of some of the common controls and the code behind the controls and to validate empty or required data types from the user inputs.
3.2 Star
Updated 2/9/2017
Released 12/28/2016
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 ODBC APIs to connect to and access a database.
4.3 Star
Updated 10/17/2013
Released 2/29/2012
1 - 10 of 10464 Items