Azure Code Samples

Learn to interact with Azure services through code

15 code samples match your filter

Uploading and CDN-preloading static content with Azure Functions

Upload static contents to the edge using Azure Storage and Content Delivery Network

yevster by Yev,
Last updated: 7/17/2019

Content Reactor: Serverless Microservice Sample for Azure

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.

nzthiago by Thiago Almeida,
Last updated: 6/20/2019

On-demand calculation of Azure consumption cost

Azure Function that returns consumption cost per subscription in Node.js

itye-msft by Itye Richter,
Last updated: 2/27/2018

Node.js Azure Function for generating SAS tokens

Node.js Azure Function for getting a blob or container Storage SAS token

lindydonna by Donna Malayeri,
Last updated: 12/15/2016

Azure Functions Proxies Sample

Azure Functions sample that hosts a SPA in Azure Storage and uses proxies to change page content.

lindydonna by Donna Malayeri,
Last updated: 9/7/2017

GitHub Release Notes Generator

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

paladique by Jasmine Greenaway,
Last updated: 9/6/2018

Azure IoT Hub ping

Simple solution to test a device's connectivity to Azure IoT Hub: Device sends a message and receives it back.

olivierbloch by Olivier Bloch,
Last updated: 4/9/2017

CoderCards - trading card generator

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.

lindydonna by Donna Malayeri,
Last updated: 10/4/2017

Serverless data processing tutorials

Use the different Serverless Services on Azure to process data from a streaming source

OGcanviz by Canviz,
Last updated: 7/25/2018

Retrieve opened issue count on GitHub with Azure Durable Functions

Build an Azure Durable Functions that will scrape GitHub for opened issues and store them on Azure Storage.

MaximRouiller by Maxime Rouiller,
Last updated: 3/18/2019

C# Azure Function for generating SAS tokens

C# Azure Function for getting a Storage blob- or container-level SAS token

lindydonna by Donna Malayeri,
Last updated: 12/1/2016

C# Azure Function for Reacting to Azure Insights Events

This sample demonstrates how you can react to Azure Insights events using a Webhook trigger in Azure Functions

syntaxc4 by Cory Fowler,
Last updated: 9/27/2016

Retrieve opened issue count on GitHub with Azure Durable Functions

Build an Azure Durable Functions that will scrape GitHub for opened issues and store them on Azure Storage.

MaximRouiller by Maxime Rouiller,
Last updated: 3/18/2019

Azure Functions Photo Mosaic Generator

Sample for Azure Functions and Microsoft Custom Vision Service to generate a photo mosaic from an input image

lindydonna by Donna Malayeri,
Last updated: 10/29/2017

C# Azure Function for generating an ICS File

Learn how to create an ICS file using Azure Functions and C# programming language

mbcrump by Michael Crump,
Last updated: 6/20/2017