azure application settings - how to add nested item

后端 未结 2 1123
忘掉有多难
忘掉有多难 2021-01-18 03:35

i have a appservice on azure that is running a .net core api.

in my appsettings.json file i have a section something similar to :

\"Serilog\": {    
         


        
2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-18 04:19

    As per this article, you would have to use syntax something like "CustomSettings__MySpecificSetting".

    Hope this helps!! Cheers!! :)

提交回复
热议问题