Posts

Showing posts with the label .Net6

Azure functions appsettings.json instead of local.settings.json

 Currently one of the services I manage needs to properly set configurations similar to appsetting.json so that the parent name of the config doesnt need to change. This is because of service that calls for the config is looking specifically at the parent name. However since its a azure function using this I ran into an issue of using a different name rather than "Values" where db connections or other properties need to be in order to be read. I tried using the following example... { "CustomParent": {      "test":"true"      }    "Values": {          "test": "true"       } } For my custom name I can grab the test value, just what's in values parent. https://adamstorr.azurewebsites.net/blog/why-wont-you-load-my-configuration-azure-functions https://stackoverflow.com/questions/51781298/read-custom-settings-from-local-settings-json-in-azure-functions https://github.com/Azure/Azure-Functions/issues/1023 https://stack

Popular posts from this blog

UI-Bootstrap Collapsible Sticky Footer

Installing Windows on Acer chromebook 15 cb3-532

Aspetcore: NLog with Postgresql