Azure Code Samples

Learn to interact with Azure services through code

767 code samples match your filter

Tutorial - Enable your Web Apps to sign-in users and call APIs with the Microsoft identity platform for developers

An ASP.NET Core 2.x Web App which lets sign-in users (including in your org, many orgs, orgs + personal accounts, sovereign clouds) and call Web APIs (including Microsoft Graph)

jmprieur by Jean-Marc Prieur,
Last updated: 5/16/2019

Cognitive Services Python SDK Samples

Learn how to use the Cognitive Services Python SDK with these samples

lmazuel by Laurent Mazuel,
Last updated: 5/16/2019


This sample illurstrates how to deploy certificates from a keyvault to VM using Python SDK against Azure Stack

viananth by Vishnu Priya Ananthu Sundaram,
Last updated: 5/16/2019

Hybrid-Compute-DotNET-Manage-VM #

Getting Started with compute - Manage Virtual Machines in Azure Stack Hybrid Cloud in C# asynchronously

seyadava by Ali Nikravesh,
Last updated: 5/16/2019

Integrate Microsoft identity and the Microsoft Graph into a web application using OpenID Connect

A sample showcasing how to develop a web application that handles sign on via the unified Azure AD and MSA endpoint, so that users can sign in using both their work/school account or Microsoft account. The sample also shows how to use MSAL to obtain a token for invoking the Microsoft Graph, as well as incrementental consent.

jmprieur by Jean-Marc Prieur,
Last updated: 5/15/2019

How To Build a Medical Document Search Application

The goal of this project is to show how to leverage Apache cTAKES along with Azure Search to build an effective document search application over medical content.

liamca by Liam Cavanagh,
Last updated: 5/14/2019

Azure AD B2C: Call an ASP.NET Web API from an ASP.NET Web App

A combined sample for a .NET web application that calls a .NET Web API, both secured using Azure AD B2C

dstrockis by Danny Strockis,
Last updated: 5/13/2019

Authorization in a web app using Azure AD application roles & role claims

A .NET 4.5 MVC web app that uses Azure AD application roles for authorization.

jmprieur by Jean-Marc Prieur,
Last updated: 5/10/2019

Azure IoT Samples for Csharp (.NET)

azure-iot-samples-csharp provides a set of easy-to-understand, continuously-tested samples for using Azure IoT Hub and Azure IoT Hub Device Provisioning Service using C# SDK.

azure-samples by Azure Samples,
Last updated: 5/9/2019

Service Fabric Standalone Cluster Configuration

Templates for Service Fabric Standalone cluster configurations.

maburlik by Max Burlik,
Last updated: 5/9/2019

Build an app with admin restricted scopes using the v2.0 endpoint

An ASP.NET MVC application that shows how to use the Azure AD v2.0 endpoint to collect consent for permissions that require administrative consent.

jmprieur by Jean-Marc Prieur,
Last updated: 5/9/2019

Getting Started with Azure File Service in .NET

The getting started sample demonstrates how to perform common tasks using the Azure File Service in .NET including creating a directory, uploading files to a directory, downloading files, as well as listing all the files in a directory.

robinsh by Robin Shahan,
Last updated: 5/7/2019

Analytics & Visualization Samples for Academic Graph

Various examples to perform big data analytics over Microsoft Academic Graph and visualize the results.

alch-msft by Alvin Chen,
Last updated: 5/7/2019

Azure Blob Storage Samples for .NET

The getting started sample demonstrates how to perform common tasks using the Azure Blob Service in .NET including uploading a blob, CRUD operations, listing, as well as blob snapshot creation.

tamram by Tamra Myers,
Last updated: 5/7/2019

Azure Batch .NET Quickstart

A basic .NET application that introduces Batch features such as pools, nodes, jobs, tasks, and interation with Storage.

dlepow by Dan Lepow,
Last updated: 5/7/2019

Transfer objects to and from Azure Blob Storage using .NET

Code for QuickStart article for accessing Blobs with .NET

Azure-Samples by George Wallace,
Last updated: 5/6/2019

Getting Started with Shared Access Signatures (SAS)

This sample shows how to generate and use shared access signatures (SAS). The sample demonstrates how to create both an ad-hoc SAS and a SAS associated with a stored access policy.

tamram by Tamra Myers,
Last updated: 5/6/2019

Blob Tier Analysis Tool

Lightweight utility to analyze blob storage for potential cost savings opportunities afforded by tiering to archive

michaelhauss by Michael Hauss,
Last updated: 5/6/2019