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

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