In the previous section, we implemented the first part of our scenario by creating an Azure Function with a Service Bus queue trigger and running it locally. At this point, it is essential that we understand the various components of Azure Functions.
Understanding the components of an Azure Function
Application host file (host.json)
The host.json file is a configuration file containing the values that affect all the functions of a function app. This file is created as soon as we add an Azure Function project. This file will have at least one field to begin with, indicating the runtime version of Azure Functions.
The following is the content of the host.json file created in our sample project:
To understand the various elements...