netcore web.config ConnectionStrings AppSettings

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

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

原文地址:https://www.cnblogs.com/kellynic/p/5762498.html