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
9614 results
Ahmed Naji
One of the must annoying thing when working with large data is how to loading this data to your page?The common solution is paging but paging itself will not help too much you can end with hundred or thousands of page numbers.So new solution now is on the surface and it's called
Featured
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
668,850 Downloads
C#
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
50,809 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
345,888 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
17,359 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
208,859 Downloads
C#, HTML
ErikReitan
This download has been created for the ASP.NET 4.5 Web Forms and Visual Studio 2013 (Wingtip Toys) tutorial series. This series of tutorials guides you through the steps required to create an ASP.NET Web Forms application using Visual Studio Express 2013 for Web and ASP.NET 4.5.
4.3 Star
(92)
Updated 4/20/2016
Released 4/6/2012
409,404 Downloads
C#
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
64,515 Downloads
C++
Mukesh.Kumar
In token-based authentication, you pass your credentials [user name and password], which go to authentication server. Server verifies your credentials and if it is a valid user then it will return a signed token to client system, which has expiration time.
3.8 Star
(4)
Updated 1/21/2018
Released 8/31/2017
6,978 Downloads
C#, SQL
Paolo Salvatori
The Service Bus Explorer is a tool that you can use to manage and test the entities contained in an Azure Service Bus namespace.
4.8 Star
(75)
Updated 6/21/2017
Released 10/27/2011
105,310 Downloads
Subramanyam Raju
This article demonstrates how to consume a RESTful web service and how to parse the JSON response from a Xamarin.Forms application.
No Star
(0)
Updated 4/17/2017
Released 4/17/2017
2,200 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 9614 Items