Azure Code Samples

Learn to interact with Azure services through code

23 code samples match your filter

Getting started on managing SQL databases in C#

Getting started on managing SQL databases in C#

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

Getting started on managing firewalls for sql databases in C#

Getting started on managing firewalls for sql databases in C#

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

Getting started on managing SQL databases across regions in C#

Getting started on managing SQL databases across regions in C#

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

Getting started with importing and exporting SQL databases in C#

Getting started with importing and exporting SQL databases in C#

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

Getting started with recover and restore operations for SQL databases in C#

Getting started with recover and restore operations for SQL databases in C#

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

Getting started on managing SQL databases in elastic pools in C#

Getting started on managing SQL databases in elastic pools in C#

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

Getting started on managing data connections (such as SQL Database and Redis Cache) for Web Apps on Linux using C#

Getting started on managing data connections (such as SQL Database and Redis Cache) for Web Apps on Linux using C#

  • App Service
  • .NET
yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Getting started on managing data connections (such as SQL Database and Redis Cache) for Web Apps in C#

Getting started on managing data connections (such as SQL Database and Redis Cache) for Web Apps in C#

  • App Service
  • .NET
yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Sample: copy data from Azure Blob Storage to Azure SQL Database

This sample shows how to copy data from an Azure Blob Storage to an Azure SQL Database

  • Data Factory
  • .NET
spelluru by Sreedhar Pelluru,
Last updated: 9/13/2017

SQL to Event Hub scenario

Simple cloud app that pulls incremental records from a SQL Azure table and pushes to event hub

  • Event Hubs
  • Cloud Services
  • Azure SQL Database
  • .NET
spyrossak by Spyros Sakellariadis,
Last updated: 12/1/2016

Use Azure SQL Database from App Service with Managed Identity (Without Code Changes)

Sample that shows how to authenticate to Azure SQL Databases at run-time from an App Service with a Managed Service Identity.

  • App Service
  • .NET
nonik0 by Nick Brown,
Last updated: 4/15/2019

Calling Azure AD protected web APIs in a web app using OAuth 2.0

In the sample, an existing web app with its own way of signing in users adds the ability to call an Azure AD protected web API using OAuth 2.0 access tokens.

  • Azure Active Directory
  • .NET
jmprieur by Jean-Marc Prieur,
Last updated: 6/20/2019

Calling a downstream web API from another web API in Microsoft identity platform using the On-Behalf-Of flow

Web API calling a downstream API on behalf of the user using the Microsoft identity platform (formerly named Azure AD) v2.0 enpoint

  • Azure Active Directory
  • .NET
TiagoBrenck by Tiago Brenck,
Last updated: 7/4/2019

How to manually validate a JWT access token using Microsoft identity platform (formerly Azure Active Directory for developers)

How to manually process a JWT access token in a web API using the JSON Web Token Handler For the Microsoft .Net Framework 4.5.

  • Azure Active Directory
  • .NET
kalyankrishna1 by Kalyan Krishna,
Last updated: 7/5/2019

hdinsight-dotnet-storm-powerbi

How to use PowerBI to display information generated by a Apache Storm topology running on HDInsight

  • HDInsight
  • .NET
blackmist by Larry Franks,
Last updated: 10/25/2016

Azure App Service field engineer sample with web admin portal and offline-sync-enabled Xamarin.Forms client

Azure App Service sample with a web client and Xamarin mobile client.

  • App Service
  • .NET
  • Xamarin
lindydonna by Donna Malayeri,
Last updated: 5/13/2016

Azure Cosmos DB - MongoDB API with Xamarin Quick Start

A quick start demonstrating how to get up and running quickly with Azure Cosmos DB's Mongo API and a Xamarin.Forms app.

  • Azure Cosmos DB
  • .NET
codemillmatt by Matt Soucoup,
Last updated: 6/29/2018

Developing a .NET console app using Azure Cosmos DB

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

  • Azure Cosmos DB
  • .NET
andrewhoh by Andrew Hoh,
Last updated: 4/2/2018