Azure Code Samples

Learn how to interact with Azure services through code

18 code samples match your filter

Getting Started with CORS for the Windows Azure Storage Services in Node.js

This sample demostrates how to set the CORS rules for a blob storage account to be used from javascript in a web browser

  • Storage Accounts
  • Node.js
dineshmurthy by Dinesh Murthy,
Last updated: 15/07/2016

FoodTrucks - Node API App for Azure App Service

Node.js API App food trucks service sample

  • Node.js
pkefal by Panagiotis Kefalidis,
Last updated: 11/07/2017

Getting Started with Azure Blob Service in Node.js

The getting started sample demonstrates how to perform common tasks using the Azure Blob Service in node.js including uploading a blob, CRUD operations, listing, as well as blob snapshot creation.

  • Storage Accounts
  • Node.js
yaxia by Yang Xia,
Last updated: 01/02/2019

App Service Mobile completed quickstart for Node.js backend

Node.js backend quickstart project after all tutorials have been completed (push, auth, offline, etc..)

  • App Service
  • Node.js
ggailey777 by Glenn Gailey,
Last updated: 05/08/2016

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: 15/12/2016

Getting Started with Azure Queue Service in Node.js

The getting started sample demonstrates how to perform common tasks using the Azure Queue Service in node.js including inserting, peeking, getting and deleting queue messages, as well as creating and deleting queues.

  • Storage Accounts
  • Node.js
yaxia by Yang Xia,
Last updated: 05/08/2016

Web application development with Node.js and Express using Azure Cosmos DB

This sample shows you how to use the Microsoft Azure DocumentDB service to store and access data from a Node.js Express application hosted on Azure Websites.

  • Azure Cosmos DB
  • Node.js
ryancrawcour by Ryan CrawCour,
Last updated: 25/06/2018

Securing a web API with Azure AD

A NodeJS web API that is secured using Azure AD and OAuth 2.0 access tokens.

  • Azure Active Directory
  • Node.js
brandwe by Brandon Werner,
Last updated: 23/07/2018

Tweet vibration anomalies detected by Azure IoT services on data from an Intel Edison running Node.js

Simple IoT project using Azure IoT Hub and showing a device running node to send telemetry data and that is analyzed by Azure IoT services to detect anomalies

  • Azure IoT Hub
  • Azure Stream Analytics
  • Event Hubs
  • Node.js
  • JavaScript
olivierbloch by Olivier Bloch,
Last updated: 12/07/2017

IoT Hub Intel Edison Client application

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

  • Azure IoT Hub
  • Node.js
xshi by Xin Shi,
Last updated: 22/08/2017

Developing a Node.js app using the Azure Cosmos DB SQL API

Azure Cosmos DB's DocumentDB API provides a JSON document database data model and the power of SQL and JavaScript over schema-less data. This tutorial shows how to get started with the DocumentDB API and the Node.js SDK.

  • Azure Cosmos DB
  • Node.js
andrewhoh by Andrew Hoh,
Last updated: 20/03/2018

Node.js Web API with Azure AD v2.0

A small Node.js Web API that works with Azure AD v2.0 to accept and validates access tokens.

  • Azure Active Directory
  • Node.js
navyasric by Navya Canumalla,
Last updated: 08/04/2019

Getting Started with Azure File Service in Node.js

The getting started sample demonstrates how to perform common tasks using the Azure File Service in node.js including creating a directory, uploading files to a directory, downloading files, as well as listing all the files in a directory.

  • Storage Accounts
  • Node.js
yaxia by Yang Xia,
Last updated: 21/01/2016

Integrating Azure AD into a NodeJS web application

A NodeJS web application that authenticates Azure AD users with OpenID Connect.

  • Azure Active Directory
  • Node.js
azure-samples by Azure Samples,
Last updated: 25/04/2017

Connect your Microsoft Azure IoT Raspberry Pi 3 Starter Kit to the remote monitoring solution

Get started with the Raspberry Pi Azure IoT Starter Kit

  • Azure IoT Hub
  • Node.js
azure-samples by Azure Samples,
Last updated: 03/05/2017

Developing a Node.js console app using DocumentDB

This sample shows you how get started quickly with Microsoft Azure DocumentDB service and Node.js

  • Azure Cosmos DB
  • Node.js
andrewhoh by Andrew Hoh,
Last updated: 30/05/2018

Getting Started with Azure Table Service in Node.js

The getting started sample demonstrates how to perform common tasks using the Azure Table Service in node.js including creating a table, CRUD operations, batch operations and different querying techniques.

  • Storage Accounts
  • Node.js
azure-samples by Azure Samples,
Last updated: 15/11/2017

Build a serverless web app in Azure

Code for first serverless web application tutorial

  • Azure Cosmos DB
  • Storage Accounts
  • Cognitive Services
  • Azure Active Directory
  • Node.js
  • .NET
antchu by Antchu,
Last updated: 24/09/2018