Asp.Net VNext App Settings on Azure

前端 未结 2 847
有刺的猬
有刺的猬 2021-01-14 19:05

I really enjoyed the new Configuration feature of Asp.Net vNext using de default appsettings.json

But I would like to change the values of that file when I publish t

2条回答
  •  囚心锁ツ
    2021-01-14 19:52

    If you set App Settings in the Azure Portal, they become environment variables at runtime, and should get picked up by the ASP.NET vNext runtime. So you don't need to physically modify your appsettings.json to achieve this.

提交回复
热议问题