Search This Blog

Monday, 23 October 2023

Azure Function

 Azure Functions

  1. Serverless compute service.

  2. It allows to run pieces of code without worrying about infrastructure.

  3. Pay per Usage.

  4. Multiple Language support(C#, Java, JavaScript, Python, etc.)

 

There are different types of Azure function trigger.

  1. Http trigger.

  2. Timer trigger.

  3. Azure Queue storage trigger.

  4. Azure Service bus queue trigger.

  5. Azure service bus topic trigger.

  6. Azure blob storage trigger.

  7. Azure event hub trigger.

 

Http Trigger Method

Step 1: Log on to = https://portal.azure.com/#home

Step 2: Click Create a resource


















Step 3: Search function app and click "Function App" create



Step 4: A function app page will be open and

  • Click create new and add Resource group : calculator

  • Function App Name : Calculator-func

  • Runtime Stack : Choose you code .Net

  • Version : Choose which version you want.

  • Region : Choose your region.

Then click Next

Step 5: Open hosting page.

  • Storage Account : Calculatorfunc

  • Operating system: Windows

  • Plan Type: Choose plan type consumption.

  • Click the Next button