Azure Code Samples

Learn to interact with Azure services through code

767 code samples match your filter

Serverless Microservices reference architecture

This reference architecture walks you through the decision-making process involved in designing, developing, and delivering a serverless application using a microservices architecture through hands-on instructions for configuring and deploying all of the architecture's components along the way. The goal is to provide practical hands-on experience in working with several Azure services and the technologies that effectively use them in a cohesive and unified way to build a serverless-based microservices architecture.

gk-8 by Gorka Madariaga,
Last updated: 2019-05-20

Invoking an API protected by Azure AD from a text-only device

This sample demonstrates how to leverage ADAL .NET to authenticate user calls to a web API (in this case, the directory Graph) from apps that do not have the capability of offering an interactive authentication experience.

jmprieur by Jean-Marc Prieur,
Last updated: 2019-05-20

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: 2019-05-16

Cognitive Services Python SDK Samples

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

lmazuel by Laurent Mazuel,
Last updated: 2019-05-16

Hybrid-KeyVault-Python-Deploy-Certificates-To-VM

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: 2019-05-16

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: 2019-05-16

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: 2019-05-15

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: 2019-05-14

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: 2019-05-13

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: 2019-05-10

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: 2019-05-09

Service Fabric Standalone Cluster Configuration

Templates for Service Fabric Standalone cluster configurations.

maburlik by Max Burlik,
Last updated: 2019-05-09

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: 2019-05-09

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: 2019-05-07

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: 2019-05-07

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: 2019-05-07

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: 2019-05-07

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: 2019-05-06