【发布时间】:2020-03-19 17:55:40
【问题描述】:
我正在使用 .NET Core 3.0 ASP.net,我的 appsettings.json 看起来像这样
{
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"AllowedHosts": "*",
"Test":false
}
有什么方法可以配置某个发布配置文件 (pubxml) 以将 Test 的值更改为 true 或 false ?
【问题讨论】:
标签: asp.net-core asp.net-core-mvc