Azure Code Samples
Learn to interact with Azure services through code
24 code samples match your filter
This reference architecture walks you through the decision-making process involved in designing, developing, and delivering a serverless application using a microservices architecture through hands-on instructions for configuring and deploying all of the architecture's components along the way. The goal is to provide practical hands-on experience in working with several Azure services and the technologies that effectively use them in a cohesive and unified way to build a serverless-based microservices architecture.
Demo app showing how to use several Azure services with Xamarin including Azure AD B2C, Azure Cosmos DB, Azure Functions, Azure App Services, and Azure Media Services
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.
An implementation of MapReduce on top of C# Durable Functions over the NYC 2017 Taxi dataset to compute average ride time per-day
Azure Function that returns consumption cost per subscription in Node.js
Node.js Azure Function for getting a blob or container Storage SAS token
Azure Functions sample that hosts a SPA in Azure Storage and uses proxies to change page content.
This sample showcases how to create Azure Functions through the Azure portal and Visual Studio 2017, and how to call the function from a Xamarin.Forms client app.
This sample uses Azure Functions and Storage to generate a Markdown file with release notes when a new release is created in a GitHub repository
Simple solution to test a device's connectivity to Azure IoT Hub: Device sends a message and receives it back.
Use the different Serverless Services on Azure to process data from a streaming source
This solution is a personal knowledge management system and it allows users to upload text, images, and audio into categories. Each of these types of data is managed by a dedicated microservice built on Azure serverless technologies including Azure Functions and Cognitive Services. The web front-end communicates with the microservices through a SignalR-to-Event Grid bridge, allowing for real-time reactive UI updates based on the microservice updates. Each microservice is built and deployed independently using VSTS’s build and release management system, and use a variety of Azure-native data storage technologies.
Azure Functions sample that generates trading cards from people's faces. It uses Microsoft Cognitive Services to determine the predominant emotion and chooses a card back based on that.
C# Azure Function for getting a Storage blob- or container-level SAS token