2020年6月29日

在类库中获取配置信息 asp.net core 3.1

摘要: var configuration = new ConfigurationBuilder() .AddJsonFile(Path.Combine(AppContext.BaseDirectory, "appsettings.json")) .Build(); 需要添加 nuget 包 Microso 阅读全文

posted @ 2020-06-29 14:12 落叶子 阅读(211) 评论(0) 推荐(0) 编辑

导航