News for hackers. Stuff that matters.
Re:.NET 5.0 by SideburnsOfDoom on Tuesday November 10, 2020 @04:33PM (#25052274)
> make a custom Settings class class which just loads settings via good old `Environment.GetEnvironmentVariable

Why would you prefer that, to the the built-in classes to load settings via good old environment variables, among other sources? Which do you think new people coming to your team would prefer to see?

Re:.NET 5.0 by FridgeSeal on Tuesday November 10, 2020 @04:59PM (#25052585)
Because the morass that is HostSetting/HostedServices/etc and friends is a confusing tangle of dependencies (some unspecified) bizarre calls that you've missed and general confusion.

I seriously don't understand how MS managed to make loading some configs so outrageously confusing.

Every time I have to write in .net and I'm forced to go down this path, I've got to go back to the one project where it worked, and copy code across and install dependencies until the whole thing decides it's finally happy.