Creating Functions Locally
Learn how to create and run functions locally.
We'll cover the following...
Using the IDE
An IDE, such as Visual Studio, should already have an Azure Functions project template. We can select this template while creating a new project, as the following screenshot demonstrates:
Press + to interact
We can then follow the steps to select the .NET version and the function type (whether it’s in-process or isolated process). Once the project is created, we will also be able to run it locally by using the UI controls of the IDE, as we would for any other application type.
Using the CLI
Creating and running functions via a CLI is more involved. The process will also differ depending on which operating system we use. The first thing we need to do is install the Azure Functions Core Tools.