News for hackers. Stuff that matters.
Re:Understanding the .NET ecosystem: The evolution of .NET i... by cyral on Tuesday March 21, 2023 @11:33PM (#35256484)
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.

Re:Understanding the .NET ecosystem: The evolution of .NET i... by sebazzz on Wednesday March 22, 2023 @03:49AM (#35258035)
If using the default builder, environment variables are included automatically as a configuration provider.