Home > Blockchain >  Azure Container App ASPNETCORE_ENVIRONMENT
Azure Container App ASPNETCORE_ENVIRONMENT

Time:01-19

I have multiple microservices running as Azure Container Apps. I am a bit confused about how the ASPNETCORE_ENVIRONMENT is managed. For example, locally, I can change launchsettings.json or Windows Env variables etc... and restart the app to reflect the change. But when running in Container Apps, what's the best way to handle it?

Currently each microservice configuration is in Azure App Configuration grouped by a key (microservice assembly name). May be I can have an environment entry for each service where I change it and restart the container app?

This enter image description here

and that's where you should set ASPNET_CORE_ENVIRONMENT if you want.

  • Related