Azure 程式碼範例

了解如何透過程式碼與 Azure 服務互動

112 個程式碼範例與您的篩選符合

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.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/9/14

Authorization in a web app using Azure AD groups & group claims

A .NET 4.5 MVC web app that uses Azure AD groups for authorization.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/9/12

Calling a Web API in a daemon app or long-running process

A Windows console application that calls a web API using its app identity (instead of a user's identity) to get access tokens in an unattended job or process.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/9/2

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 更新者:Jean-Marc Prieur
上次更新日期:2019/8/30

Authenticating to Azure AD in daemon apps with certificates

A .NET core daemon application that uses a certificate to authenticate with Azure AD and get OAuth 2.0 access tokens to a .NET core web api

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/8/27

Authenticating to Azure AD in daemon apps with certificates

A .NET 4.5 daemon application that uses a certificate to authenticate with Azure AD and get OAuth 2.0 access tokens.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/8/19

Analytics & Visualization Samples for Academic Graph

Various examples to perform big data analytics over Microsoft Academic Graph and visualize the results.

  • .NET
alch-msft 更新者:Alvin Chen
上次更新日期:2019/8/14

Use Service Bus from App Service with Managed Service Identity

Sample that shows how to send and receive data from Azure Service Bus Queue at run-time from an App Service with a Managed Service Identity (MSI)

  • App Service
  • .NET
nonik0 更新者:Nick Brown
上次更新日期:2019/8/14

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 更新者:Nick Brown
上次更新日期:2019/8/14

Build a multi-tenant SaaS web application using Azure AD & OpenID Connect

A sample .NET 4.5 MVC web app that signs-up and signs-in users from any Azure AD tenant using OpenID Connect.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/7/23

Integrating Azure AD into a cross platform Xamarin application

A Xamarin application that signs users in with Azure Active Directory across several different platforms and calls the Microsoft Graph API using OAuth 2.0 access tokens.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/7/17

Integrating Azure AD into a Windows desktop application using interactive authentication

A .NET 4.5 WPF application that authenticates a user and calls web API using Azure AD and OAuth 2.0 access tokens.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/7/17

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 更新者:Kalyan Krishna
上次更新日期:2019/7/5

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 更新者:Jean-Marc Prieur
上次更新日期:2019/6/20

Using the Graph API Reporting Features

A web application sample that calls the Azure AD Graph API reporting capabilities

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2017/6/20

Demo - To-do list reimagined admin web portal

A demo web application that syncs the app's local user store with users that have been assigned to the application in the directory.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2017/6/20

How to use SQLite Encryption Extension with Azure Mobile Apps

Sample encrypted local store for Azure Mobile Apps client SDK

  • .NET
  • Xamarin
pragnagopa 更新者:Pragna Gopa
上次更新日期:2016/7/15

Getting Started with Azure Client Side Encryption in .NET

This sample demonstrates how to use client side encryption along with Azure Key Vault integration

  • 儲存體帳戶
  • .NET
woodp 更新者:Pedro Wood
上次更新日期:2016/12/14