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
    Feb 07, 2024 @ 19:42
    Andrew B
    0

    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 5060 posts 15522 karma points MVP admin hq
    Feb 08, 2024 @ 07:44
    Sebastiaan Janssen
    1

    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

Please Sign in or register to post replies

Write your reply to:

Draft