3 ms·
I think it's just: builder.Configuration.AddEnvironmentVariables(); Then you can use an env variable like "Foo__Bar=X" to override Foo.Bar from your appsettin
by cyral 4y ago
I think it's just:
builder.Configuration.AddEnvironmentVariables();
Then you can use an env variable like "Foo__Bar=X" to override Foo.Bar from your appsettings json.
- sebazzz 4y agoIf using the default builder, environment variables are included automatically as a configuration provider.