摘要: ###一、创建AppSetting帮助类 public class AppSetting { private static readonly object objLock = new object(); //锁 private static AppSetting instance = null; p 阅读全文
posted @ 2021-01-23 11:20 清和时光 阅读(279) 评论(0) 推荐(0) 编辑
摘要: ###一、比如appsettings.json里面有这样一段代码 { "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Informa 阅读全文
posted @ 2021-01-23 08:30 清和时光 阅读(1377) 评论(0) 推荐(0) 编辑