Create your first Azure Function
Create an HTTP triggered function
In Solution Explorer, right-click on your project node and select Add > New Item. Select Azure Function and click Add.
Select HttpTrigger, type a Function Name, select Anonymous for Access Rights, and click Create. The function created is accessed by an HTTP request from any client.
A code file is added to your project that contains a class that implements your function code. This code is based on a template, which receives a name value and echos it back. The FunctionName attribute sets the name of your function. The HttpTrigger attribute indicates the message that triggers the function.
Now that you have created an HTTP-triggered function, you can test it on your local computer.
I ran into an issue I created the function