Create Azure Functions using Visual Studio 2017

In this article we can explore about creating Azure Functions using Visual Studio 2017.

Native Tooling in Visual Studio 2017

Visual Studio 2017 includes the Azure Functions SDK to provide Functions template.

Open Visual Studio > New Project > Choose Azure Functions template as shown below.

image

In the next window choose the Http Trigger option.

image

You will get the following Code generated.

image

Run the application & You will get the following command window.

image

Towards the end you will see the URL to copy.

image

You can copy the URL & PUT in the browser. Since it is using Http GET method you will get the break point hit.

image

References

https://docs.microsoft.com/en-us/azure/azure-functions/functions-overview

Summary

In this article we have explored about Azure Functions template in Visual Studio 2017

Advertisements