Azure Code Samples

Learn to interact with Azure services through code

41 code samples match your filter

Developing a .NET Core console app using DocumentDB

This sample shows you how get started quickly with Microsoft Azure DocumentDB service and .NET Core

  • Azure Cosmos DB
  • .NET
arramac by Aravind Krishna R.,
Last updated: 6/27/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.

  • Azure Functions
  • Event Grid
  • Azure Cosmos DB
  • .NET
nzthiago by Thiago Almeida,
Last updated: 6/20/2019

Create a DocumentDB and get MongoDB connection string using C#

Create a DocumentDB and get MongoDB connection string using C#

  • Azure Cosmos DB
  • .NET
yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Create a DocumentDB, configure it for high availability and create a firewall by limiting access to DocumentDB from an approved set of IP addresses using C#

Create a DocumentDB, configure it for high availability and create a firewall by limiting access to DocumentDB from an approved set of IP addresses using C#

  • Azure Cosmos DB
  • .NET
yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Create a DocumentDB and configure it with eventual consistency using C#

Create a DocumentDB and configure it with eventual consistency using C#

  • Azure Cosmos DB
  • .NET
yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Create a DocumentDB and configure it for high availability using C#

Create a DocumentDB and configure it for high availability using C#

  • Azure Cosmos DB
  • .NET
yaohaizh by Yaohai Zheng,
Last updated: 6/18/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: 6/5/2019

End-to-end Java Experience in App Service Linux

Deploy Spring Boot app to Java SE - end-to-end Java experience in App Service Linux

  • App Service
  • Azure Cosmos DB
  • Java
selvasingh by Asir Vedamuthu Selvasingh,
Last updated: 4/30/2019

Developing a Python Gremlin app using Azure Cosmos DB

Azure Cosmos DB's Graph API provides the graph data model and Gremlin. This tutorial shows how to get started with the Graph (Gremlin) API and the Gremlin driver for Python.

  • Azure Cosmos DB
  • Python
luisbosquez by Luis Bosquez,
Last updated: 4/29/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

Developing a Java app using Azure Cosmos DB for MongoDB API

This repository shows how to run MongoDB queries and operations in Azure Cosmos DB.

  • Azure Cosmos DB
  • Java
arramac by Aravind Krishna R.,
Last updated: 12/14/2018

Multi-Master Sample using .NET driver for Azure Cosmos DB for MongoDB API

Multi master conflict generation and resolution sample in .NET for Azure Cosmos DB for MongoDB API

  • Azure Cosmos DB
  • .NET
jasontho by jasontho,
Last updated: 12/15/2018

A Simple Todo List Application built w/ Java + Azure DocumentDB

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

  • Azure Cosmos DB
  • Java
aliuy by Andrew Liu,
Last updated: 11/2/2016

Developing a Dotnet app with Cassandra API using Azure Cosmos DB

This repository contains dotnet code showcasing interaction with Cassandra API of Azure Cosmos DB in form of creation, query and cleanup of data

  • Azure Cosmos DB
  • .NET
mojind by Mohit Jindal,
Last updated: 11/28/2017

Using ReadPreference command with Azure Cosmos DB for MongoDB API

This sample shows you how to use ReadPreference command against Azure Cosmos DB for MongoDB API account from a Node application.

  • Azure Cosmos DB
azure-samples by Azure Samples,
Last updated: 12/15/2018

Developing a SpringBoot app using Azure Cosmos DB for MongoDB API

This sample shows you how to use SpringBoot MongoDB application with Azure CosmosDB Mongo API.

  • Azure Cosmos DB
sivethe by sivethe,
Last updated: 12/14/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

Azure Cosmos DB: Build a Azure Cosmos DB for MongoDB API console app with Golang and the Azure portal

This sample shows you how to use the Azure Cosmos DB for MongoDB API and Go language (Golang) to create, retrieve, update, and delete a document in a collection.

  • Azure Cosmos DB
mimig1 by Mimi Gentz,
Last updated: 12/15/2018