How to do it...

Perform the following steps:

  1. Open Visual Studio, choose File, and then click on New Project. In the New Project dialog box in the Installed templates, under Visual C#, select Cloud and then select the Azure Functions template:

  1. Provide the name of the function app. Click on the OK button to go to the next step. As shown in the following screenshot, choose Azure Functions v2 (.NET Core) from the drop-down menu, then select Http trigger, and click on the OK button:

  1. We have successfully created the Azure Function App, along with an HTTP trigger (which accepts web requests and sends a response to the client), with the name Function1. Feel free to change the default name of the function app, and make sure to build the application to download the required NuGet packages, if any.
  1. After you create a new function, a new class will also be created, as shown in the following screenshot:

We have now successfully created a new HTTP-triggered function app using Visual Studio 2017.