首页 > TAG信息列表 > optionsSetting

01-.net core6 获取appsettings.json数据

1.在appsettings.json中添加数据 1 { 2 "Logging": { 3 "LogLevel": { 4 "Default": "Information", 5 "Microsoft.AspNetCore": "Warning" 6 } 7 }, 8 "AllowedHosts":