mderriey / azure-identity-livestream

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure Identity Livestream

This is the repository used during the 425show Twitch livestream which happened on the 18th of February 2021. While the video isn't available on Twitch anymore, you can catch it up on YouTube at https://www.youtube.com/watch?v=KYgXboJrU5M.

The goal is to have a look at the Azure Identity library, which is part of the Azure SDK. It allows developers to leverage Azure Active Directory authentication when interacting with Azure services that support it. This means that by using Azure managed identity, we can build a credential-less application.

To showcase this, we build a simple ASP.NET Core app that displays a list of people. We demonstrate how to use Azure Identity in several ways:

  • First, to connect to Azure Blob Storage, using the dedicated client library which is also part of the Azure SDK.
  • Then, we look at how we can connect to Azure SQL with Dapper, where we are in control of the creation and disposal of the SqlConnection instances.
  • Finally, we use what we learnt in the previous step to use AAD auth with Azure SQL while using EF Core.

Step by step walkthrough

If you can't watch the show, please head over to the releases page of this repository where each step we took is explained.

Interesting links

About


Languages

Language:C# 71.0%Language:HTML 16.8%Language:CSS 7.8%Language:TSQL 3.1%Language:JavaScript 1.3%