Fork me on GitHub
摘要: 1、在配置文件appsettings.json里新增AppSettings节点 2、新建实体类AppSettings,通常建在公共类库Common里 3、在Startup类里的ConfigureServices配置 4、控制器或者业务类里使用 5、页面上使用 阅读全文
posted @ 2019-04-30 00:17 传说中的十三月 阅读(3301) 评论(0) 推荐(1) 编辑