Azure Code Samples

Learn to interact with Azure services through code

671 code samples match your filter

Cognitive Services Python SDK Samples

Learn how to use the Cognitive Services Python SDK with these samples

  • Cognitive Services
  • Python
lmazuel by Laurent Mazuel,
Last updated: 8/23/2019

Cognitive Services Vision C# SDK quickstart samples

Latest sample code for Cognitive Services Vision C# SDK quickstarts.

  • Cognitive Services
  • .NET
easyj2j by John MacKenzie,
Last updated: 8/23/2019

Detect and frame faces in an image on Android

Android app using the Face service Java client library to detect and frame faces in an image.

  • Cognitive Services
  • Android
  • Java
noellelacharite by Noelle LaCharite,
Last updated: 8/23/2019

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

Auto-scale your Azure IoT Hub

Monitor Azure IoT Hub usage and auto-scale it when necessary

Azure-Samples by Steve Busby,
Last updated: 8/23/2019

IoT Hub SparkFun ESP8266 Thing-Dev Client application

Application collects weather data from a DHT22 sensor and sends it to IoT hub, also take actions according to cloud-to-device message.

Azure-Samples by Xin Shi,
Last updated: 8/23/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