Visual Studio 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
9611 results
Windows Azure Product Team

Windows Azure Product Team MSFT

Microsoft Azure Product Team samples are developed and tested by the Microsoft Azure Product Team to ensure that you have a great experience.

View samples
- Microsoft
The Windows Azure HelloWorld sample demonstrates how to create a simple ASP.NET web role that can be deployed to Windows Azure. The Diagnostics module is imported into the sample and is ready to collect the default diagnostic data.
Featured
C#, XML
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
670,936 Downloads
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,714 Downloads
C#
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,552 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,893 Downloads
C#, SQL, HTML, XML
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
(237)
Updated 4/26/2012
Released 8/11/2011
346,969 Downloads
C#
DDTK_Support_Team
Dynamic Datacenter Toolkit for Hosters allows you to create a private or public cloud offering based on Microsoft's Hyper-V and System Center Enterprise Suite.
5 Star
(2)
Updated 1/4/2012
Released 1/4/2012
16,134 Downloads
C#
MusakkhirSayyed
This Sample Describes How to Export Gridview in a doc/access/excel/html/xml/text/pdf/csv/print format.To export GridView in PDF format it requires ITextSharp Library. The download link of this library is given below.
itextsharp.dll
DescriptionThis Sample of Application describe
4.4 Star
(8)
Updated 2/17/2014
Released 1/19/2014
47,069 Downloads
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
(33)
Updated 10/19/2017
Released 5/13/2014
211,193 Downloads
C#, HTML
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
These are the official samples for Visual Studio 2010 C# 4.0.
4.6 Star
(106)
Updated 7/17/2012
Released 11/29/2011
627,495 Downloads
OneCode Team - Microsoft
This code sample demonstrates creating a basic Windows Service application in VC++
4.4 Star
(19)
Updated 3/2/2012
Released 1/21/2011
65,170 Downloads
C++
1 - 10 of 9611 Items