Building with Azure – core service integration through geolocation
In this recipe, we will integrate an Azure-managed external API, specifically using Azure Maps, into our Web API. While geolocation is the service of choice for this example, this process is broadly applicable to many Azure services. We are also going to learn how to use Azure.Identity for managed authentication. Azure Identity operates differently than the bearer JWT method covered earlier in the book.
We will focus on using the Azure CLI. The Azure CLI is an incredibly powerful tool for resource management. We urge you to explore Azure in the command line even if you are accustomed to deploying via IDE integrations. You will learn how to structure the Web API’s settings and services in .NET Core to integrate with a remote Azure service. By the end of this recipe, you will not only have an operational geolocation service but also understand Azure service creation, configuration, and API integration...