I think many who have worked with .NET Framework are familiar with the situation where you need to read the App.config configuration file, and it’s not a particularly pleasant task. You always have to create a bunch of static classes, which essentially refer to ConfigurationManager.AppSettings. Or, writing complex and unclear custom configuration sections, inserting each section into the configSection with a reference to the section’s class and its assembly, which isn’t ideal either.
Read more ...Working with .NET App.config without pain
May 22, 2019