Azure Code Samples

Learn to interact with Azure services through code

36 code samples match your filter

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

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

  • Azure Cosmos DB
  • Node.js
christopheranderson by Christopher Anderson,
Last updated: 8/6/2019

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

This sample shows you how to use the Node.js SDK to interact with Microsoft Azure Cosmos DB.

  • Azure Cosmos DB
  • Node.js
deborahc by Deborah Chen,
Last updated: 7/31/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: 8/5/2016

Manage Azure websites with Node.js

This sample demonstrates how to manage your webapps using a node.js client

  • App Service
  • Node.js
amarzavery by Amar Zavery,
Last updated: 8/5/2016

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: 7/15/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: 7/11/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: 2/1/2019

Developing a Node.js app with Cassandra API using Azure Cosmos DB

This repository has sample Javascript language code to interact with Cassandra API of Azure Cosmos DB in form of creation, query and cleanup of data.

  • Azure Cosmos DB
  • Node.js
govindk by Govind,
Last updated: 11/18/2017

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

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

Managed Azure Storage Account Keys for Azure Key Vault using the Azure Node SDK

Managing storage account keys in Azure Key Vault samples using the Azure Node SDK

  • Key Vault
  • Node.js
lusitanian by David Desberg,
Last updated: 7/18/2018

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: 6/25/2018

Deploy an SSH Enabled VM with a Template in Node.js

An example illustrating how to use node.js to deploy an Azure Resource Manager Template

  • Azure Resource Manager
  • Node.js
haocs by Hao,
Last updated: 12/13/2016

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: 7/23/2018

Recovery scenario samples for Azure Key Vault using the Azure Node SDK

Samples of using the Key Vault node SDK for recovering deleted Secrets, Keys, Certificates and Vaults

  • Key Vault
  • Node.js
lusitanian by David Desberg,
Last updated: 6/29/2018

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: 8/22/2017

Manage resources using Managed Service Identity using node.js

sample that shows how to use msi with node sdk

  • Node.js
amarzavery by Amar Zavery,
Last updated: 9/22/2017