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
10462 results
Valery M - Microsoft
Integrating an on-premises process with processes running in Windows Azure opens up a wide range of opportunities that enable customers to extend their on-premises solutions into the Cloud environment.Based off real-world customer projects led by the Windows Azure Customer Adviso
Featured
C#
SautinSoft Team
This is a C # example to convert PDF file to XML via a free C# PDF library. Only the .Net platform and nothing else, 32 and 64-bit support, Medium Trust level, converting of all types of PDF documents, works under Windows, Mac, Linux and a lot of other nuances.
1.5 Star
(6)
Updated 2/3/2016
Released 2/3/2016
5,759 Downloads
C#
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
(184)
Updated 2/11/2017
Released 4/12/2011
671,003 Downloads
C#
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
(0)
Updated 3/2/2017
Released 2/27/2014
119,327 Downloads
cakriwut
The STSADM.exe is command-line tool for administration of Office SharePoint Server (SharePoint 2007, SharePoint 2010). It is installed on the same location as SharePoint Products and Technologies location: %COMMONPROGRAMFILES%\Microsoft Shared\Web Server
Extensions\12\bin (for
5 Star
(2)
Updated 10/12/2011
Released 9/17/2011
4,524 Downloads
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
(125)
Updated 10/24/2016
Released 3/29/2013
282,805 Downloads
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
(2)
Updated 1/30/2017
Released 10/4/2014
110,079 Downloads
Ozcan ILIKHAN
This example illustrates basic inter-process communication between C# and Python. Example C# app will call a python script by sending 2 arguments and will read/consume output of the script.In order to make this app work, you need to have Python interpreter installed on your machi
5 Star
(8)
Updated 5/1/2015
Released 4/30/2015
7,019 Downloads
John Howard -MSFT
Convert-VMGeneration converts a Hyper-V generation 1 virtual machine running on Windows Server 2012 R2 or Windows 8.1 to generation 2.
4.6 Star
(90)
Updated 12/12/2013
Released 10/23/2013
40,875 Downloads
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
(4)
Updated 4/4/2019
Released 11/23/2016
20,664 Downloads
SYEDSHANU - MVP
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
(40)
Updated 6/19/2019
Released 1/14/2016
51,913 Downloads
C#, SQL, HTML, XML
1 - 10 of 10462 Items