如何获取 appsettings.json 里的值

一、比如appsettings.json里面有这样一段代码
{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, "AllowedHosts": "*", "ConnectionStrings": { "JzErpConnection": "server=192.161.1.1;database=School;uid=sa;pwd=123;MultipleActiveResultSets=true;" } }
一会更新

如何获取 appsettings.json 里的值

上一篇:CSAPP实验2 : bomblab


下一篇:主流开源开发者工具落地阿里云,进一步提升开发者体验