Posts

Showing posts with the label Azure Function

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/issue...

Popular posts from this blog

Aspetcore: NLog with Postgresql

Mongodb Cheatsheet

Installing Windows on Acer chromebook 15 cb3-532