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
844 results in JavaScript [Clear]
Keith Davidson
Using MVC3 and jQuery to allow inline creation of dependent entities.
Featured
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
86,493 Downloads
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 shows how to create a barcode scanner, claim it for exclusive use, enable it to receive data, and read a barcode. This sample uses Windows.Devices.PointOfService API.
3.4 Star
(10)
Updated 11/25/2013
Released 6/26/2013
50,673 Downloads
OneCode Team - Microsoft
This sample demonstrates how to authorize Angular 2 app with asp.net core web api.
3.5 Star
(13)
Updated 3/29/2017
Released 11/4/2016
3,910 Downloads
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
Demonstrates how to use the Microsoft OCR Library for Windows Runtime to extract text in the specified language from an image.
OCR
4.5 Star
(18)
Updated 9/30/2014
Released 7/31/2014
38,763 Downloads
Muawiyah Shannak
JSLink files have the ability to quickly and easily change how a list views and forms are rendered. More specifically how the fields in that list should be displayed. I wrote the following code samples to be easy to understand and to achieve learning purposes.
4.6 Star
(34)
Updated 3/19/2015
Released 9/22/2013
15,406 Downloads
OneCode Team - Microsoft
this sample demonstrates how to use entity framework DB First in ASP.NET Core.
5 Star
(6)
Updated 3/10/2017
Released 10/19/2016
2,504 Downloads
Chourouk Hjaiej
This sample show you how to integrate Google maps in an MVC 5 application in less than 5 minutes. Google Maps provides directions, location information, and any other kind of stuff provided by the Google Maps API in your web application. 
4.7 Star
(12)
Updated 1/2/2016
Released 1/2/2016
11,527 Downloads
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
Demonstrates use of the Bluetooth Generic Attribute Profile (Gatt) Windows Runtime API to interact with a Bluetooth Gatt device, which contains a Heart Rate Service.
4 Star
(7)
Updated 9/3/2014
Released 6/26/2013
28,492 Downloads
Migrated Galleries Content - Microsoft
The sample provides a step by step guide to building your first RIA services application. The application we will be building here is an HR Application for an Enterprise
4.6 Star
(41)
Updated 9/15/2011
Released 4/1/2011
80,354 Downloads
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 shows you how to use toast notifications, which are notifications sent from an app to the user. Toast appears as a pop-up notification in the upper right corner of the screen. A user can select the toast (touch or click) to launch the ass...
4.4 Star
(12)
Updated 4/2/2014
Released 2/29/2012
63,684 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 844 Items