This repository has been archived by the owner on Dec 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 312
Add ASPNETCORE_* environment variables by default to hosting configuration #700
Comments
How do you turn it off? |
Hello all... This should be reflected in all examples with upper cases :), specially hosting in IIS... I have been banging my head with this.. Thanks for the post 👍 |
@JunTaoLuo We think this is required for #727. cc @Tratcher |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Today you have to call
UseDefaultConfiguration
to turn on the ASPNETCORE_ environment variables. This means thatASPNETCORE_
settings aren't applied unless the application code is setup to do so. While this seems like a pure choice, it makes it hard to diagnose why things aren't working. An example of this is the IISIntegration middleware. If you don't call UseDefaultConfiguration then it won't bind to IIS.Instead, we should just setup the the env vars by default.
/cc @DamianEdwards @Tratcher
The text was updated successfully, but these errors were encountered: