Azure Code Samples

Learn to interact with Azure services through code

767 code samples match your filter

Single-Page Application built on MSAL.js with Azure AD B2C

A single page application (SPA) calling a Web API. Authentication is done with Azure AD B2C by leveraging MSAL.js

jmprieur by Jean-Marc Prieur,
Last updated: 6/27/2019

Azure Media Services v3 .NET Core - Serverless Workflows

This project contains advanced VOD media workflow examples of using Azure Functions v2 with Azure Media Services v3. The project includes several folders of sample Azure Functions for use with Azure Media Services that show workflows related to ingesting content directly from blob storage, encoding, and writing content back to blob storage.

xpouyat by Xavier Pouyat,
Last updated: 6/26/2019

Migrating an application from using ADAL.NET to using MSAL.NET

Demonstrate the migration of .NET applications fro AAD v1.0 (ADAL.NET) to AAD v2.0 (MSAL.NET)

jmprieur by Jean-Marc Prieur,
Last updated: 6/26/2019

azure-batch-samples

Azure Batch and HPC Code Samples

azure-samples by Azure Samples,
Last updated: 6/25/2019

WPF application signing in users with Azure Active Directory B2C and calling an API

Sample showing how a Windows Desktop .NET (WPF) application can sign in a user using Azure AD B2C, get an access token using MSAL.NET and call an API.

jmprieur by Jean-Marc Prieur,
Last updated: 6/25/2019

Getting Started with Azure Search using .NET

Getting Started with Azure Search using .NET

azure-samples by Azure Samples,
Last updated: 6/24/2019

Azure IoT Samples for Node.js

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

azure-samples by Azure Samples,
Last updated: 6/24/2019

Azure IoT Samples for Java

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

azure-samples by Azure Samples,
Last updated: 6/24/2019

Azure IoT Samples for Python

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

azure-samples by Azure Samples,
Last updated: 6/24/2019

How to manually validate a JWT access token using Microsoft identity platform (formerly Azure Active Directory for developers)

How to manually process a JWT access token in a web API using the JSON Web Token Handler For the Microsoft .Net Framework 4.5.

kalyankrishna1 by Kalyan Krishna,
Last updated: 6/21/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: 6/21/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: 6/20/2019

Use OpenID Connect to sign in users to Microsoft identity platform (formerly Azure Active Directory for developers) and execute Microsoft Graph operations using incremental consent

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

Calling Azure AD protected web APIs in a web app using OAuth 2.0

In the sample, an existing web app with its own way of signing in users adds the ability to call an Azure AD protected web API using OAuth 2.0 access tokens.

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

Content Reactor: Serverless Microservice Sample for Azure

This solution is a personal knowledge management system and it allows users to upload text, images, and audio into categories. Each of these types of data is managed by a dedicated microservice built on Azure serverless technologies including Azure Functions and Cognitive Services. The web front-end communicates with the microservices through a SignalR-to-Event Grid bridge, allowing for real-time reactive UI updates based on the microservice updates. Each microservice is built and deployed independently using VSTS’s build and release management system, and use a variety of Azure-native data storage technologies.

nzthiago by Thiago Almeida,
Last updated: 6/20/2019

Developing a .NET console app using Azure Cosmos DB

This sample shows you how get started quickly with Microsoft Azure Cosmos DB, using the SQL API and .NET.

deborahc by Deborah Chen,
Last updated: 6/20/2019

aad-java-manage-passwords

Getting started on managing passwords for applications and service principals.

yaohaizh by Yaohai Zheng,
Last updated: 6/19/2019

Web application development with ASP.NET Core MVC using Azure Cosmos DB

This sample shows you how to use the Microsoft Azure Cosmos DB service to store and access data from an ASP.NET Core application.

azure-samples by Azure Samples,
Last updated: 6/19/2019