Azure Code Samples

Learn how to interact with Azure services through code

332 code samples match your filter

Getting Started with Azure Search using .NET

Getting Started with Azure Search using .NET

azure-samples by Azure Samples,
Last updated: 24/06/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.

kalyankrishna1 by Kalyan Krishna,
Last updated: 21/06/2019

Azure IoT Samples for Csharp (.NET)

azure-iot-samples-csharp provides a set of easy-to-understand, continuously-tested samples for using Azure IoT Hub and Azure IoT Hub Device Provisioning Service using C# SDK.

azure-samples by Azure Samples,
Last updated: 21/06/2019

Build an app with admin restricted scopes using the v2.0 endpoint

An ASP.NET MVC application that shows how to use the Azure AD v2.0 endpoint to collect consent for permissions that require administrative consent.

jmprieur by Jean-Marc Prieur,
Last updated: 20/06/2019

Use OpenID Connect to sign in users to Microsoft identity platform (formerly Azure Active Directory for developers) and execute Microsoft Graph operations using incremental consent

A sample showcasing how to develop a web application that handles sign on via the unified Azure AD and MSA endpoint, so that users can sign in using both their work/school account or Microsoft account. The sample also shows how to use MSAL to obtain a token for invoking the Microsoft Graph, as well as incrementental consent.

jmprieur by Jean-Marc Prieur,
Last updated: 20/06/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.

jmprieur by Jean-Marc Prieur,
Last updated: 20/06/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.

nzthiago by Thiago Almeida,
Last updated: 20/06/2019

Developing a .NET console app using Azure Cosmos DB

This sample shows you how get started quickly with Microsoft Azure Cosmos DB, using the SQL API and .NET.

deborahc by Deborah Chen,
Last updated: 20/06/2019

Web application development with ASP.NET Core MVC using Azure Cosmos DB

This sample shows you how to use the Microsoft Azure Cosmos DB service to store and access data from an ASP.NET Core application.

azure-samples by Azure Samples,
Last updated: 19/06/2019

Developing a .NET Core console app using Azure Cosmos DB

This sample shows you how get started quickly with Microsoft Azure Cosmos DB, using the SQL API and .NET Core.

deborahc by Deborah Chen,
Last updated: 18/06/2019

Getting started on managing Application Gateways with backend pools in C#

Getting started on managing Application Gateways with backend pools in C#

yaohaizh by Yaohai Zheng,
Last updated: 18/06/2019

Getting started on creating several virtual machines across regions in parallel in C#

Getting started on creating several virtual machines across regions in parallel in C#

yaohaizh by Yaohai Zheng,
Last updated: 18/06/2019

Getting started on managing storage accounts in C#

Getting started on managing storage accounts in C#

yaohaizh by Yaohai Zheng,
Last updated: 18/06/2019

Getting started on managing virtual network in C#

Getting started on managing virtual network in C#

yaohaizh by Yaohai Zheng,
Last updated: 18/06/2019

Getting started on managing network security groups in C#

Getting started on managing network security groups in C#

yaohaizh by Yaohai Zheng,
Last updated: 18/06/2019

Getting started on managing network interface in C#

Getting started on managing network interface in C#

yaohaizh by Yaohai Zheng,
Last updated: 18/06/2019

Getting started on managing network user defined routes in C#

Getting started on managing network user defined routes in C#

yaohaizh by Yaohai Zheng,
Last updated: 18/06/2019

Getting started on managing load balancers in C#

Getting started on managing load balancers in C#

yaohaizh by Yaohai Zheng,
Last updated: 18/06/2019