Azure Code Samples
Learn to interact with Azure services through code
156 code samples match your filter
This sample demonstrate two guest executable services communicating (one C# and one Nodejs) which are then packaged into docker containers
Sample watchdog service that can monitor service health and metrics reporting them to Application Insights
Sample Azure Functions for use with Azure Media Services. Ingest from Azure Blobs, encode and output to Azure Blobs, monitor encoding progress, and use WebHooks or Queues to hook into the workflow.
A Xamarin application that signs users in with Azure Active Directory across several different platforms and calls the Azure AD Graph API using OAuth 2.0 access tokens.
A .NET console application that performs various queries against the Azure AD Graph API using both user identities and application identities.
Sample showing how a windows Desktop .NET (WPF) application can get an access token using MSAL.NET and call the Microsoft Graph API or other APIs protected by Azure Active Directory v2
A sample .NET 4.5 MVC SaaS web app that signs-up and signs-in users from any Azure AD tenant, and calls the Azure AD Graph API.
A .NET 4.5 MVC Web API protected by Azure AD that receives tokens from a client and uses ADAL to get tokens for calling a downstream web API with a Conditional Access policy applied to it.
A .NET 4.5 MVC Web API protected by Azure AD that receives tokens from a client and uses ADAL to get tokens for calling another downstream web 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.
A simple MVC application that demonstrates how to build data-driven .NET Core apps in Azure App Service
A combined sample for a .NET web application that calls a .NET Web API, both secured using Azure AD B2C
An example illustrating how to use .NET to manipulate Azure Stack resources and storage services.
This sample shows you how get started quickly with Microsoft Azure DocumentDB service and .NET