DEV Community

Cover image for Creating a Function App in Azure to provide a Hello message with your name.
Tijani Mojeed
Tijani Mojeed

Posted on • Edited on

Creating a Function App in Azure to provide a Hello message with your name.

The Azure Functions service enables you to host a single method or function that runs in response to an event such as a queued message, HTTP request, or timer 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 Functions 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 does not store its state from execution to execution. Instead, it executes the same every time it responds to an event.
Let me quickly walkthrough on how to create a function App in Azure to provide a Hello message with your name.
Search for function App on Azure portal and click on create

Image description

Select your subscription, and fill in the required information as shown in the image below and click on create and review

Image description

Image description

After that, a page will displace where you click on create as shown in the image below

Image description

Next is to click on Go to resource

Image description

After that, it will take you to this page where you will click on function at left hand side

Image description
After function then click on Create
Image description

This will lead you to a page where you have HTTP trigger, New function and Authorization level. Fill in the “New Function” and the click on create

Image description
Then you have this

Image description

Next is to click on get function url and copy

Image description

Image description

Then open browser and paste the “function url” you copied and add &name=then put your name, carefully check the image below to understand this part.

Image description

For you to know what you will add join to the copied “Function URL” click on code and check. Carefully look at the point circled in the image below

Image description

Your likes, comment, addition or subtractions would be highly appreciated.

Top comments (0)