Azure Code Samples

Learn to interact with Azure services through code

767 code samples match your filter

Calling an ASP.NET Core Web API from a WPF application using Azure AD V2

Calling a ASP.NET Core Web API from a WPF application using Azure AD v2.0

jmprieur by Jean-Marc Prieur,
Last updated: 6/14/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: 6/14/2019

Integrate Azure AD B2C into a Xamarin forms app using MSAL

This is a simple Xamarin Forms app showcasing how to use MSAL to authenticate users via Azure Active Directory B2C, and access a Web API with the resulting tokens.

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

Media Services: Integrating Azure Media Services with Azure Functions and Logic Apps

Sample Azure Functions for use with Azure Media Services. Ingest from Azure Blobs, encode and output to Azure Blobs, monitor encoding progress, and use WebHooks or Queues to hook into the workflow.

johndeu by John Deutscher,
Last updated: 6/13/2019

Integrating Azure AD into an ASP.NET Core web app

An ASP.NET Core web application that signs-in Azure AD users from a single Azure AD tenant.

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

Manage Azure resources and resource groups with Python

An example illustrating how to use Python to manipulate Azure resources and resource groups

lmazuel by Laurent Mazuel,
Last updated: 6/13/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: 6/13/2019

Service Fabric Standalone Cluster Configuration

Templates for Service Fabric Standalone cluster configurations.

maburlik by Max Burlik,
Last updated: 6/13/2019

Scaling Stateful Java EE Apps on Azure

How to migrate and scale STATEFUL Java EE apps on Azure?

selvasingh by Asir Vedamuthu Selvasingh,
Last updated: 6/12/2019

Universal Windows Platform (UWP) application signing in users with Azure Active Directory B2C and calling an API

Sample showing how a Windows Universal Platform (UWP) application can sign in a user using Azure AD B2C, get an access token using MSAL.NET and call an API. http://aka.ms/aadb2c

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

Azure Media Services v3 .NET Core tutorials

The project in this repo contains samples that show how to use Azure Media Services v3 API and .NET SDK in .NET Core.

Juliako by Julia Kornich,
Last updated: 6/12/2019

Building a multi-tenant web API secured by Azure AD

A .NET 4.5 multi-tenant web API that is secured using Azure AD and OAuth 2.0 access tokens, and accepts calls from Azure AD users in any tenant via a Windows Store client.

jmprieur by Jean-Marc Prieur,
Last updated: 6/12/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/12/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/12/2019

Azure Media Services v3 postman collection

The postman collection in this repository contains REST calls to Azure Media Services v3 APIs.

Juliako by Julia Kornich,
Last updated: 6/12/2019

Implementing a simple Azure Function with a Xamarin.Forms client

This sample showcases how to create Azure Functions through the Azure portal and Visual Studio 2017, and how to call the function from a Xamarin.Forms client app.

LBugnion by Laurent Bugnion,
Last updated: 6/11/2019

Using Azure Media Services to Dynamically encrypt your assets with AES-128

The sample shows how to use Azure Media Services to dynamically encrypt your content with AES 128-bit clear encryption keys

Juliako by Julia Kornich,
Last updated: 6/11/2019

Using PlayReady and/or Widevine Dynamic Common Encryption with .NET

The sample shows how to use Azure Media Services to dynamically encrypt your content with PlayReady and Widevine DRMs.

Juliako by Julia Kornich,
Last updated: 6/11/2019