Azure Code Samples

Learn to interact with Azure services through code

766 code samples match your filter

Getting Started Backend Sample

Backend getting started source code for .Net Core

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

Service Fabric Predictive Backend Sample

A Service Fabric back-end real-time data streaming and analysis system using WebSockets and Azure ML.

stascode by Stas Kondratiev,
Last updated: 5/20/2019

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: 5/20/2019

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: 5/20/2019

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