Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider loading environment also from ASPNETCORE_ENVIRONMENT #29

Open
fw2568 opened this issue May 10, 2021 · 0 comments
Open

Consider loading environment also from ASPNETCORE_ENVIRONMENT #29

fw2568 opened this issue May 10, 2021 · 0 comments

Comments

@fw2568
Copy link
Contributor

fw2568 commented May 10, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant