From the course: .NET Microservices for Azure Developers
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Challenge: Configuring environment variables - Azure Tutorial
From the course: .NET Microservices for Azure Developers
Challenge: Configuring environment variables
(light, upbeat music) - [Instructor] Here's another challenge for you. The goal is to get hands-on practice configuring a container in Azure container apps. If you'd like to skip it, please do and join me in the next chapter. Currently, the microservice is using the default configuration that the web API template created. Here you can see the contents of the app settings json file. However, with this configuration, we're not able to see the messages from entity framework core. In other words, we can see what kind of expressions are being executed for querying the data. For this reason, in this challenge, you'll modify the microservice container using environment variables. Specifically, you need to set the login level for the Microsoft Entity Framework Core namespace to debug. When you're done, join me in the next video and I'll walk you through how I implemented this.
Contents
-
-
-
-
-
-
(Locked)
Creating the Container Apps environment using the Azure CLI1m 55s
-
(Locked)
Creating the Container App using the Azure CLI1m 41s
-
(Locked)
Modifying the workflow to deploy to the Container App4m 50s
-
(Locked)
Challenge: Configuring environment variables1m 4s
-
(Locked)
Solution: Configuring environment variables2m 27s
-
(Locked)
-
-