Azure Code Samples

Learn to interact with Azure services through code

669 code samples match your filter

Integrate Microsoft identity and the Microsoft Graph into a Xamarin forms app using MSAL

This is a simple Xamarin Forms app showcasing how to use MSAL to authenticate MSA and Azure AD via the converged MSA and Azure AD authentication endpoints, and access the Microsoft Graph with the resulting token.

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

Universal Windows Platform (UWP) application signing in users with Azure Active Directory B2C and calling an API

Sample showing how a Windows Universal Platform (UWP) application can sign in a user using Azure AD B2C, get an access token using MSAL.NET and call an API. http://aka.ms/aadb2c

Azure-Samples by Jean-Marc Prieur,
Last updated: 9/20/2019

WPF application signing in users with Azure Active Directory B2C and calling an API

Sample showing how a Windows Desktop .NET (WPF) application can sign in a user using Azure AD B2C, get an access token using MSAL.NET and call an API.

Azure-Samples by Jean-Marc Prieur,
Last updated: 9/20/2019

Getting started with converting Virtual Machines to use Managed Disks

Getting started with converting Virtual Machines to use Managed Disks

Azure-Samples by Yaohai Zheng,
Last updated: 9/20/2019

Getting started with creating a virtual machine using a VHD, either OS or data disk VHD

Getting started with creating a virtual machine using a VHD, either OS or data disk VHD

Azure-Samples by Yaohai Zheng,
Last updated: 9/20/2019

Getting started with creating a virtual machine using a custom image

Getting started with creating a virtual machine using a custom image

Azure-Samples by Yaohai Zheng,
Last updated: 9/20/2019

Getting started with creating a Virtual Machine using specialized disks from Snapshots

Getting started with creating a Virtual Machine using specialized disks from Snapshots

Azure-Samples by Yaohai Zheng,
Last updated: 9/20/2019

Getting started with creating a virtual machine by importing a specialized operating system disk VHD

Getting started with creating a virtual machine by importing a specialized operating system disk VHD

Azure-Samples by Yaohai Zheng,
Last updated: 9/20/2019

Getting metrics and activity logs for a resource

Getting metrics and activity logs for a resource.

Azure-Samples by Yaohai Zheng,
Last updated: 9/20/2019

Create a simple Internet Facing load balancer using C#

Create a simple Internet Facing load balancer using C#

Azure-Samples by Yaohai Zheng,
Last updated: 9/20/2019

An example illustrating how to use .NET to manage your Azure load balancers

An example illustrating how to use .NET to manage your Azure load balancers

Azure-Samples by Yaohai Zheng,
Last updated: 9/20/2019

Getting started on managing load balancers in C#

Getting started on managing load balancers in C#

Azure-Samples by Yaohai Zheng,
Last updated: 9/20/2019

Getting started on managing network interface in C#

Getting started on managing network interface in C#

Azure-Samples by Yaohai Zheng,
Last updated: 9/20/2019

Getting started on managing network security groups in C

Getting started on managing network security groups in C#

Azure-Samples by Yaohai Zheng,
Last updated: 9/20/2019

Manage virtual networks in C# asynchronously - create a virtual network, create a virtual network with subnets, update a virtual network, list virtual networks, delete a virtual network

Manage virtual networks in C# asynchronously - create a virtual network, create a virtual network with subnets, update a virtual network, list virtual networks, delete a virtual network

Azure-Samples by Yaohai Zheng,
Last updated: 9/20/2019

Manage virtual network to virtual network VPN connection

Manage virtual network to virtual network VPN connection

Azure-Samples by Yaohai Zheng,
Last updated: 9/20/2019

Manage virtual network with site-to-site VPN connection

Manage virtual network with site-to-site VPN connection

Azure-Samples by Yaohai Zheng,
Last updated: 9/20/2019

Getting started on managing client to virtual network VPN connection using C#

Getting started on managing client to virtual network VPN connection using C#

Azure-Samples by Yaohai Zheng,
Last updated: 9/20/2019