I have a .net app and azure function apps that access a routine in the .net app. Now this routine is used for logging some information.
Within the .net app i can access the web.config file as follows
var serviceSection = ConfigurationManager.GetSection("servicename");
etc and get the values from the web.config.
But when an Azure function ap calls it there is no such thing as a web.config but a local.setting.json file for development .
What is the json file called when it is deployed ?
How can i read the Azure function app config file in the .net app ?
So basicallly i want to be able to know if an Azaure function app is calling the .net function and read the value or if its withing the app itself just read the web.config file ?
Kate is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.