Azure Code Samples

Learn to interact with Azure services through code

630 code samples match your filter

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: 2/22/2018

Calling a web API in an ASP.NET Core web application using Azure AD

An ASP.NET Core web application that authenticates Azure AD users and calls a web API using OAuth 2.0 access tokens.

jmprieur by Jean-Marc Prieur,
Last updated: 2/21/2018

Azure Data Lake Store .Net: Getting Started

This sample .Net application shows you how to use the .Net SDK to read and write files to Azure Data Lake Store, and do other filesystem operations.

rahuldutta90 by Rahul Dutta,
Last updated: 2/21/2018

Using Mongo ReadPreference with Azure Cosmos DB's MongoDB API

This sample shows you how to use MongoDB ReadPreference against Azure Cosmos DB with MongoDB API from a .NET application.

azure-samples by Azure Samples,
Last updated: 2/21/2018

Service Fabric Standalone Cluster Configuration

Templates for Service Fabric Standalone cluster configurations.

maburlik by Max Burlik,
Last updated: 2/21/2018

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: 2/21/2018

Authenticating to Azure AD in daemon apps with certificates

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

jmprieur by Jean-Marc Prieur,
Last updated: 2/16/2018

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: 2/15/2018

Build a multi-tenant SaaS web application that calls a web API using Azure AD

A sample .NET 4.5 MVC SaaS web app that signs-up and signs-in users from any Azure AD tenant, and calls the Azure AD Graph API.

jmprieur by Jean-Marc Prieur,
Last updated: 2/15/2018

app-service-java-manage-logs-for-function-apps

Getting started on log streaming for Functions using Java

jianghaolu by Jianghao Lu,
Last updated: 2/13/2018

monitor-java-query-metrics-activitylogs

Getting metrics and activity logs for a resource.

hovsepm by Hovsep,
Last updated: 2/13/2018

Getting Started with Compute - Create Virtual Machines In Parallel - in .Net

Getting started on creating several virtual machines across regions in parallel in C#

selvasingh by Asir Vedamuthu Selvasingh,
Last updated: 2/13/2018

Getting Started with Application - Manage Application Gateway - in .Net

Getting started on managing Application Gateways with backend pools in C#

selvasingh by Asir Vedamuthu Selvasingh,
Last updated: 2/13/2018

Getting Started with Storage - Manage Storage Account - in .Net

Getting started on managing storage accounts in C#

selvasingh by Asir Vedamuthu Selvasingh,
Last updated: 2/13/2018

Getting Started with Network - Manage Virtual Network - in .Net

Getting started on managing virtual network in C#

selvasingh by Asir Vedamuthu Selvasingh,
Last updated: 2/13/2018

Getting Started with Network - Manage Network Security Group - in .Net

Getting started on managing network security groups in C#

selvasingh by Asir Vedamuthu Selvasingh,
Last updated: 2/13/2018

Getting Started with Network - Manage Network Interface - in .Net

Getting started on managing network interface in C#

selvasingh by Asir Vedamuthu Selvasingh,
Last updated: 2/13/2018

Getting Started with Network - Manage IP Address - in .Net

Getting started on managing network user defined routes in C#

selvasingh by Asir Vedamuthu Selvasingh,
Last updated: 2/13/2018