Azure Code Samples

Learn to interact with Azure services through code

671 code samples match your filter

Detect and frame faces in an image on Windows

Sample application for using the Face API.

  • Cognitive Services
noellelacharite by Noelle LaCharite,
Last updated: 8/22/2019

Integrating Azure AD into a Java web application

A Java web application calling Microsoft graph that is secured using the Microsoft identity platform

  • Azure Active Directory
  • Java
sagonzal by Sergio Alejandro González,
Last updated: 8/22/2019

Using MIP SDK with ASP.NET to Label Files on Download

This project demonstrates using the Microsoft Information Protection SDK to apply an MIP label to an Excel file generated by an ASP.NET application.

tommoser by Tom Moser,
Last updated: 8/21/2019

MipSdk-ProtectionApi-Cpp-Sample-Basic

This sample application demonstrates using the Microsoft Information Protection SDK Protection API to obtain a publishing license, encrypt a plaintext string using the PL, then decrypt the ciphertext using the PL.

tommoser by Tom Moser,
Last updated: 8/21/2019

MipSdk-PolicyApi-Cpp-Sample-Basic

The sample demonstrates using the Microsoft Information Protection Policy API to list all available labels for a user, then computes the actions the selected labels should take, displaying the actions.

tommoser by Tom Moser,
Last updated: 8/21/2019

MipSdk-Dotnet-File-ServicePrincipalAuth

This sample application demonstrates using a service principal to authenticate to the MIP service, fetch policy, and label a file.

  • .NET
tommoser by Tom Moser,
Last updated: 8/21/2019

Azure IoT Samples for iOS Platform

azure-iot-samples-ios provides a set of easy-to-understand, continuously-tested samples for using Azure IoT Hub via Azure/azure-iot-sdk-c.

Azure-Samples by Azure Samples,
Last updated: 8/21/2019

MipSdk-Dotnet-File-Quickstart

This sample application demonstrates using the Microsoft Information Protection SDK .NET wrapper to label and read a label from a file.

  • .NET
tommoser by Tom Moser,
Last updated: 8/21/2019

Samples for Cognitive Services Nuget Packages

Learn how to use the Cognitive Services SDKs with these samples

  • Cognitive Services
  • .NET
yangyuan by Yang Yuan,
Last updated: 8/19/2019

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.

  • Azure Active Directory
  • .NET
jmprieur by Jean-Marc Prieur,
Last updated: 8/19/2019

Scaling Stateful Java Apps on Azure

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

  • App Service
  • Azure Cache for Redis
  • Java
selvasingh by Asir Vedamuthu Selvasingh,
Last updated: 8/19/2019

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

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

Azure-Samples by Yaohai Zheng,
Last updated: 8/15/2019

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

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

Azure-Samples by Yaohai Zheng,
Last updated: 8/15/2019

Getting started on managing storage accounts in C#

Getting started on managing storage accounts in C#

Azure-Samples by Yaohai Zheng,
Last updated: 8/15/2019

Getting started on managing virtual network in C#

Getting started on managing virtual network in C#

Azure-Samples by Yaohai Zheng,
Last updated: 8/15/2019

Getting started on managing network security groups in C#

Getting started on managing network security groups in C#

Azure-Samples by Yaohai Zheng,
Last updated: 8/15/2019

Getting started on managing network interface in C#

Getting started on managing network interface in C#

Azure-Samples by Yaohai Zheng,
Last updated: 8/15/2019

Getting started on managing network user defined routes in C#

Getting started on managing network user defined routes in C#

Azure-Samples by Yaohai Zheng,
Last updated: 8/15/2019