Azure Linux App Service App using wrong appsettings.{Environment}.json file
Our Linux app service always uses the values in our appsettings.Production.json file, even when our web.config has the "ASPNETCORE_ENVIRONMENT" environment variable set to "Development". Deploying the same app to a Windows app service uses the correct appsettings.Development.json file.
Has anybody encountered a similar issue or have any ideas on what is causing this behavior?
Azure Linux App Service App using wrong appsettings.{Environment}.json file
Our Linux app service always uses the values in our appsettings.Production.json file, even when our web.config has the "ASPNETCORE_ENVIRONMENT" environment variable set to "Development". Deploying the same app to a Windows app service uses the correct appsettings.Development.json file.
Has anybody encountered a similar issue or have any ideas on what is causing this behavior?
I bet something is not being picked up quite right. As a way to debug, you can use this package to see where each config value is actually coming from: https://marketplace.umbraco.com/package/cultiv.environmentinspect
is working on a reply...