Azure Code Samples

Learn to interact with Azure services through code

629 code samples match your filter

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

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

Getting Started with Network - Manage Internet Facing Load Balancer - in .Net

Getting started on managing load balancers in C#

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

Getting Started with Network - Manage Internal Load Balancer - in .Net

An example illustrating how to use .NET to manage your Azure load balancers

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

Getting Started with Compute - Manage Virtual Machine Scale Set - in .Net

Getting started on managing virtual machine scale sets in C#

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

Getting Started with Compute - Manage Virtual Machine - in .Net

This sample demonstrates how to manage your Azure virtual machines using a .NET client

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