aspnet / MicrosoftConfigurationBuilders

Microsoft.Configuration.Builders
MIT License
118 stars 61 forks source link

Use CurrentConfiguration before ConfigurationManager #216

Closed StephenMolloy closed 1 year ago

StephenMolloy commented 1 year ago

Use CurrentConfiguration before ConfigurationManager when reading parameter values from AppSettings. Like #210, except in the 'reading parameters from AppSettings' code.

I believe these are the only two places we used ConfigurationManager to access config. (Which works perfectly fine when reading our own processes config - which is the case 9/10 times.)