Create your first Azure Function

Create an HTTP triggered function

  1. In Solution Explorer, right-click on your project node and select Add > New Item. Select Azure Function and click Add.

  2. 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.

    Create a new Azure Function

    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.

    Function code file

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