Skip to content

Consider loading environment also from ASPNETCORE_ENVIRONMENT #29

@fw2568

Description

@fw2568

Currently - as ModulesHost is a generic host - the environment will be loaded from a DOTNET_ENVIRONMENT variable.
However - it is very common that instead only ASPNETCORE_ENVIRONMENT is used.

See also: https://docs.microsoft.com/de-de/aspnet/core/fundamentals/environments?view=aspnetcore-5.0

Maybe we should also override DOTNET_ENVIRONMENT with ASPNETCORE_ENVIRONMENT for ModulesHost

AB#606

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions