.net core2.0 读取appsettings.json

一、在start.up中添加注入

二、使用

 

原文地址:https://www.cnblogs.com/WangJunZzz/p/8668415.html