Base solution for your next web application
Open Closed

Production appsettings.json #7801


User avatar
0
[email protected] created

I have a stie deployed to Azure. It's been working fine for the past few months, but after this latest update appsettings.production.json seems to not be working. It seems to always drop back to just appsettings.json.

I have ASPNETCORE_ENVIRONMENT set to Production.

Any ideas?


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    If ASPNETCORE_ENVIRONMENT isn't set, it defaults to Production.

    When you debug the application locally, set ASPNETCORE_ENVIRONMENT to Production. If the application is all right, I believe it is a problem with the Azure environment.

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.