Azure Code Samples

Learn to interact with Azure services through code

562 code samples match your filter

Integrating Azure AD into an ASP.NET Core web app

An ASP.NET Core web application that signs-in Azure AD users from a single Azure AD tenant.

jmprieur by Jean-Marc Prieur,
Last updated: 10/19/2017

Developing a Java app using Azure Cosmos DB

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 Java SDK.

arramac by Aravind Krishna R.,
Last updated: 10/19/2017

Azure Data Lake Store: Getting Started

This sample .Net application shows you how to use the .Net SDK to do async file operations to Azure Data Lake Store, get the content summary. It also shows a test for token refresh.

rahuldutta90 by rahuldutta90,
Last updated: 10/17/2017

Azure Data Lake Store: Getting Started

This sample .Net application shows you how to use the .Net SDK to read and write files to Azure Data Lake Store, and do other filesystem operations.

rahuldutta90 by rahuldutta90,
Last updated: 10/17/2017

Developing a Python app using Azure Cosmos DB

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 Python SDK.

arramac by Aravind Krishna R.,
Last updated: 10/17/2017

Manage traffic manager profiles using Ruby

A sample shows how to manage Azure TrafficManager profiles using Ruby client

vishrutshah by Vishrut Shah,
Last updated: 10/17/2017

Deploy an SSH Enabled VM with a Template in Ruby

An example illustrating how to use Ruby to deploy an Azure Resource Manager Template

devigned by David Justice,
Last updated: 10/17/2017

Azure Virtual Machine Management Sample using Azure SDK for Go

This package demonstrates how to manage Azure virtual machines using Go

mcardosos by Mariana Cardoso,
Last updated: 10/17/2017

Retrieve Azure Monitor metrics with .NET

Code sample of the Azure Monitor metrics API using the .Net SDK

gucalder by gucalder,
Last updated: 10/17/2017

Retrieve Azure Monitor multi-dimensional metrics with .NET

Code samples for the Azure Monitor's multidimensional metrics API

gucalder by gucalder,
Last updated: 10/17/2017

Microsoft Azure Billing API Code Samples: Usage API

A simple console app that calls the Azure Billing Usage REST API to retrieve resource usage data for a subscription. The Microsoft Azure Billing APIs enable integration of Azure Billing information into your applications, providing new insights into your consumption of Azure resources, allowing you to accurately predict and manage your Azure resource consumption costs.

bryanla by Bryan Lamos,
Last updated: 10/17/2017

Manage Azure resources and resource groups with Ruby

An example illustrating how to use Ruby to manipulate Azure resources and resource groups

devigned by David Justice,
Last updated: 10/16/2017

Create Azure virtual machines with Managed Service Identity using Ruby

This sample demonstrates how to create Azure virtual machine with Managed Service Identity Extension using a Ruby client

vishrutshah by Vishrut Shah,
Last updated: 10/16/2017

Service Fabric Standalone Cluster Configuration

Templates for Service Fabric Standalone cluster configurations.

maburlik by Max Burlik,
Last updated: 10/13/2017

network-java-create-simple-internet-facing-load-balancer

Create a simple Internet Facing load balancer using Java

martinsawicki by Martin Sawicki,
Last updated: 10/13/2017

search-java-manage-search-service

Getting started on managing Azure search service using Java

milismsft by Milis,
Last updated: 10/13/2017

network-java-use-new-watcher

Getting started on using network watcher in Java

lenala by Elena Lakhno,
Last updated: 10/13/2017

compute-java-manage-resources-from-vm-with-msi-in-aad-group

Getting started on managing Azure resources from a managed service identity (MSI) enabled virtual machine that belongs to a Azure Active Directory (AAD) security group.

anuchandy by Anu Thomas Chandy,
Last updated: 10/13/2017