摘要: //加载配置文件 var builder = new ConfigurationBuilder() .SetBasePath(Directory.GetCurrentDirectory()) .AddJsonFile("appsettings.json", optional: false, reloadOnChange: true) .AddEnvironmentVariables(); Con... 阅读全文
posted @ 2019-02-22 18:28 cclon 阅读(2310) 评论(0) 推荐(1) 编辑