Implementing an Azure Function App
Tags: cloud, azure, function, app
Published: 2023-04-07 11:38:18

## What is Azure Function App
The Azure Fuctions service enables you to host a single method or function that runs in response to an event such as queued message, HTTP request, or time event.

You can use any of several programming languages such as Python, Java, Javascript, C# and Powershell, to create functions.

Like many other services, the Azure Function service scales automatically enabling your function to scale to meet changes in demand without any interaction or configuration by your developers. Perhaps best of all you pay only for the time and resources needed while a function is running.

Generally an Azure Function is stateless meaning it doesn't store its state from execution to execution, instead it executes the same every time it responds to an event.

In this guide we will be **creating a function app with a Webhook to provide a Hello message with your name**

**Create A Function App**

**Step 1:**
Visit [portal.azure.com](url), login or sign up if you don't have an account, you can get a free account at [azure.microsoft.com/en-us/free/](url)

**Step 2:**
From the search box, enter function app and select function app under services.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7vmigq6vom7qrdumfe17.png)

**Step 3:**
On the function app page **click create**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0ox7cxfr5p5mrnn9cyo1.png)

**Step 4:**
On the basic tab of the function app, follow the following steps

Resource Group
**Create a new resource group** by clicking create new option shown below the input bar, you can use any name of your choice.

Function App name
Enter any name of your choice

Publish
Select code

Runtime stack
Select .NET

Leave the rest of the settings as default.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5j0brldk7w7t0qudjajo.png)

**Step 5:**
**Click Review+Create** button as seen in the image below

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sv89fg8vrhnt6uk9d3b6.png)

**Step 6:**
**Click Create** button when validation passes to begin creating your new function app instance.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4jnsxmrjw1hdvvhlx4za.png)

**Step 7:**
When deployment is completed, **Click Go to resource**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c5154u85w1unolnjw6fk.png)

**Create a HTTP triggered event function and test**

**Step 1:**
**Click functions** on the left tab then **Click Create**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ncw1y7t0eddthp67vflh.png)

**Step 2:**
**Select HTTP trigger**.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/clvvp649k3wq2nwknpzj.png)

**Step 3:**
After Selecting HTTP trigger, scroll down, in the **New function** place holder input any name of your choice, leave **Authorization level** as default.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nel2nhnhqsfnx1pb41dv.png)

**Step 4:**
**Click Get Function Url** and **copy the Url**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y3xpv0sgziyt83w23n89.png)

**Step 5:**
Goto your browser tab and paste the Url you copied in step 4, then at the end of the Url look for **a double equal to sign (==)**, then at the end of the equal to signs put **&name=any name of your choice** and **hit enter**, in this example i will be using Seyi so i will put &name=Seyi.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d45jnvimrqvvcr4vf4j0.png)

**Step 6:**
Viola that is all!!!

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uk7rp2wkrrkrr50l9sib.png)