Open Closed

Use multiple environments in ASP.NET Core #10212


0
timmackey created

ANZ does not conform to .NET convention, here:

https://docs.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-5.0

Request ANZ conform to convention (and ignore "appsettings.json").

Refer to #10197


3 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @timmackey,

    AspNet Zero uses current environment name to determine the correct appsettings.json file. So, if you set ASPNETCORE_ENVIRONMENT in your Azure account, AspNet Zero will use appsettings.ASPNETCORE_ENVIRONMENT.json file.

  • 0
    timmackey created

    Starting with version 8.7.0 it appears. I'm at 8.1.0.

  • 0
    musa.demir created
    Support Team

    Hi @timmackey I could not reproduce the problem. Can you please try to reproduce it in clean project.