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

.NET 7: WebApplicationBuilder will order host config with command-line arguments at the highest precedent and ASPNETCORE_ environment variables at the lowest. #25709

Closed
Rick-Anderson opened this issue Apr 22, 2022 · 0 comments · Fixed by #26159
Assignees
Labels
doc-idea Source - Docs.ms Docs Customer feedback via GitHub Issue

Comments

@Rick-Anderson
Copy link
Contributor

Rick-Anderson commented Apr 22, 2022

See this comment

It is odd that ASPNETCORE_ environment variables override command line arguments for host config. That's one of the little things fixed by dotnet/aspnetcore#40459. Starting in .NET 7, WebApplicationBuilder will order host config with command-line arguments at the highest precedent and ASPNETCORE_ environment variables at the lowest.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-idea Source - Docs.ms Docs Customer feedback via GitHub Issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants