- Azure Serverless Computing Cookbook
- Praveen Kumar Sreeram
- 178字
- 2021-06-10 18:56:08
How to do it...
Perform the following steps:
- 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:
- 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:
- 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.
- 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.