Building an Azure Functions project
Now, we can create an Azure Functions project. Although they can be created in the cloud using the Azure portal, developers will have a better experience creating and running them locally first. You can then deploy to the cloud once you have tested your function on your own computer.
Each code editor has a slightly different experience to getting started with an Azure Functions project, so let’s have a look at each, in turn, starting with Visual Studio 2022.
Using Visual Studio 2022
If you prefer to use Visual Studio 2022, here are the steps to create an Azure Functions project:
- In Visual Studio 2022, create a new project, as defined in the following list:
- Project template: Azure Functions
- Workspace/solution file and folder:
Chapter14
- Project file and folder:
Northwind.AzureFunctions.Service
- Choose options as shown in the following list:
- Functions worker...