Upgrading ConfigurationManager for .Net 5