Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Andrew B 1 post 71 karma points
    26 days ago
    Andrew B

    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?

  • Sebastiaan Janssen 5044 posts 15474 karma points MVP admin hq
    25 days ago
    Sebastiaan Janssen

    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:

Please Sign in or register to post replies

Write your reply to: