Azure

Microsoft Azure is a cloud computing service created and maintained by Microsoft for building, testing, deploying, and managing applications and services through Microsoft-managed data centers. It provides software as a service (SaaS), platform as a service (PaaS), and infrastructure as a service (IaaS) and supports many different programming languages, tools, and frameworks.

Azure Functions allows you to run small pieces of code (called "functions") without worrying about application infrastructure. A function is "triggered" by a specific type of event like a timer-based event, HTTP event

Features

Some key features of Azure Functions include,

What can we do with Functions?

Functions is a great solution for processing bulk data, integrating systems, working with the internet-of-things (IoT), and building simple APIs and micro-services.

A series of templates are available to get you started with key scenarios including,

Azure Practical

https://signup.azure.com/signup

Azure Functions/Logic APP

Resources Groups

Azure Resources Groups are logical collections of virtual machines, storage accounts, virtual networks, web apps, databases, and/or database servers.

Function App

After login we can see on the dashboard "Function App", if not then we have to search "Function App" and open the app.

Azure Functions/Logic APP

Create Function App

As we can see below screenshot we can create a new function app with the below details.

Azure Functions/Logic APP

After creating the Function app, the function is deployed on the server. and we need to create the function Events.

Function Events are of different types. Here we create HTTP trigger with the below details.

  1. Provide a name for your new function.
  2. To restrict the use of your function we can set the Authorization level.

There are three types of levels available,

  1. When we set levels as Function, then we have to provide a function key to call our function.
  2. When we set it as Admin, then you need to provide the master key. Both the function key and admin keys are found in the 'keys' management panel on the portal when your function is selected.
  3. When we don't want any authorization then we can simply set the level as Anonymous.

Azure Functions/Logic APP

Here we created a simple Azure Function with a "name" input param.

Azure Functions/Logic APP

Hear example with output result for above Azure function.

Azure Functions/Logic APP

Compare Azure Functions and Azure Logic Apps

Functions and Logic Apps are Azure services that enable serverless workloads. Azure Functions is a serverless compute service, whereas Azure Logic Apps provides serverless workflows.

Summary

In this write-up, we discussed Azure Functions and features.

In my next article, we will discuss how to deploy .net core and Angular applications on the IIS server using the deployment tool Jenkins.