Azure Code Samples

Learn to interact with Azure services through code

475 code samples match your filter

Authenticating to Azure AD in daemon apps with certificates

A .NET core daemon application that uses a certificate to authenticate with Azure AD and get OAuth 2.0 access tokens to a .NET core web api

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

Sample - Customer Reviews App with Cognitive Services (Azure Functions tools for Visual Studio 2017)

This sample showcases the Azure Functions tooling for Visual Studio 2017. It has a website where customers submit reviews, stored in Azure storage blobs and CosmosDB; and an Azure Function for automated moderation of customer reviews using Microsoft Cognitive Services. It uses an Azure storage queue to decouple the website from the function.

nzthiago by Thiago Almeida,
Last updated: 6/27/2017

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/26/2017

Media Services: Title Overlay Plugin for Azure Media Player

An Azure Media Plugin that overlays the content title over the player

azure-samples by Azure Samples,
Last updated: 6/26/2017

Service Fabric Standalone Cluster Configuration

Templates for Service Fabric Standalone cluster configurations.

maburlik by Max Burlik,
Last updated: 6/26/2017

active-directory-dotnet-native-multitarget

A Xamarin application that signs users in with Azure Active Directory across several different platforms and calls the Azure AD Graph API using OAuth 2.0 access tokens.

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

Calling the Azure AD Graph API in a web application

A .NET 4.5 MVC web app that demonstrates how to query the Azure AD Graph API using the Azure AD Graph Client Library

jmprieur by Jean-Marc Prieur,
Last updated: 6/23/2017

Getting Started with Azure Storage Management in Python

An example illustrating how to use Python to manage your Azure storage account

lmazuel by Laurent Mazuel,
Last updated: 6/23/2017

Azure Cosmos DB: Build a MongoDB API console app with Golang and the Azure portal

This sample shows you how to use the Azure Cosmos DB MongoDB API and Go language (Golang) to create, retrieve, update, and delete a document in a collection.

mimig1 by Mimi Gentz,
Last updated: 6/23/2017

Service Fabric + Azure API Management

Azure Resource Manager templates to create a Service Fabric cluster with Azure API Management.

vturecek by Vaclav Turecek,
Last updated: 6/22/2017

cosmosdb-java-create-documentdb-and-get-mongodb-connection-string

Create a DocumentDB and get MongoDB connection string using Java

alvadb by Alva,
Last updated: 6/22/2017

cosmosdb-java-create-documentdb-and-configure-firewall

Create a DocumentDB, configure it for high availability and create a firewall by limiting access to DocumentDB from an approved set of IP addresses using Java

alvadb by Alva,
Last updated: 6/22/2017

cosmosdb-java-create-documentdb-and-configure-for-eventual-consistency

Create a DocumentDB and configure it with eventual consistency using Java

alvadb by Alva,
Last updated: 6/22/2017

cosmosdb-java-create-documentdb-and-configure-for-high-availability

Create a DocumentDB and configure it for high availability using Java

alvadb by Alva,
Last updated: 6/22/2017

aad-java-manage-passwords

Getting started on managing passwords for applications and service principals.

jianghaolu by Jianghao Lu,
Last updated: 6/22/2017

aad-java-browse-graph-and-manage-roles

Getting started on browsing graph (users, groups and members) and managing roles.

jianghaolu by Jianghao Lu,
Last updated: 6/22/2017

aad-java-manage-service-principals

Getting started with managing service principals using Java.

jianghaolu by Jianghao Lu,
Last updated: 6/22/2017

app-service-java-deploy-image-from-acr-to-linux

Deploy a container image from Azure Container Registry to Linux containers in App Service using Java

jianghaolu by Jianghao Lu,
Last updated: 6/22/2017