new ConfigurationBuilder().Build().GetSection("ConnectionStrings")

new ConfigurationBuilder().Build().GetSection("appSettings")

相关文章: