.net core2.0 读取appsettings.json

一、在start.up中添加注入

二、使用

 

 

posted @ 2018-03-29 10:41  WangJunZzz  阅读(255)  评论(0编辑  收藏  举报