Azure Code Samples

Learn to interact with Azure services through code

12 code samples match your filter

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.

  • Azure Functions
  • Event Grid
  • Azure Cosmos DB
  • .NET
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

  • App Service
  • Azure Functions
  • 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

  • App Service
  • Azure Functions
  • Node.js
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.

  • Azure Functions
  • Javascript
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

  • Azure Functions
  • Storage Accounts
  • .NET
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.

  • Azure IoT Hub
  • Azure Functions
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.

  • Azure Functions
  • .NET
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

  • Azure Functions
  • Event Hubs
  • Azure Cosmos DB
  • Azure Stream Analytics
  • Data Lake Analytics
  • Storage Accounts
  • Javascript
OGcanviz by Canviz,
Last updated: 7/25/2018

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

  • App Service
  • Azure Functions
  • .NET
syntaxc4 by Cory Fowler,
Last updated: 9/27/2016

C# Azure Function for generating SAS tokens

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

  • App Service
  • Azure Functions
  • .NET
lindydonna by Donna Malayeri,
Last updated: 12/1/2016

Azure Functions Photo Mosaic Generator

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

  • Azure Functions
  • .NET
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

  • App Service
  • Azure Functions
  • .NET
mbcrump by Michael Crump,
Last updated: 6/20/2017