摘要: 1、.net读取config中appSettings 2.1 在configuration节点下添加appSettings,并增加一个需要读取的配置 2.2 在需要读取的类中添加System.Configuration引用,读取方法如下: 2、.netCore中读取appsettings.json中 阅读全文
posted @ 2019-02-01 10:52 吃辣椒的小毛驴 阅读(1747) 评论(0) 推荐(1) 编辑