Migrate App.config to appsettings.json with dependency injection and Option pattern
One thing I realized when I upgraded my application from .NET Framework to .NET 8 using the Visual Studio Upgrade Assistance was that it did not migrate App.config to appsettings.json. In fact, it just added a reference to System.Configuration.ConfigurationManager and the old way of using App.config and Setting.settings just worked. This is great if all […]