Before we start to write any code, we will create the function app. This will contain the functions in the Azure portal. Proceed as follows:
- Create a new Function App resource. Function app is found under the Compute category.
- Give the function app a name. The name will also be the start of the URL of the function.
- Select a subscription for the function app.
- Select a resource group for the function app, which should be the same as the other resources we have created in this chapter.
- Select .NET Core as the runtime stack for the functions. It will then run at top of .NET Core 3 runtime.
- Select a location that is closest to your users.
Refer to the following screenshot to view the preceding information:
- Go to the Hosting tab.
- For storage, we can either create a new storage account or use the one we created earlier in this project.
- We will use the Consumption plan as our Hosting plan, so we only pay for what we use. The Function...