https://dusted.codes/aspnet-5-like-configuration-in-regular-dotnet-applications