Azure functions are used to isolated small pieces of logic.These functions are triggered when some triggering even happens.
- Azure fucntions is a Serverless computing technology
- Azure functions can be created using C#,Typescript and many different technologies
- Azure functions are based on triggers,events and isolated code.
- Events cause trigger to fire which causes the function to execute.
Some of the events or triggers which cause Function to execute are:
- HTTP Request
- Blob storage
- Queue storage
- Event Grid
- Event Hub
- Service Bus Queue
- Service Bus Topic
Azure functions is a type of App service.Other examples of App Services are Web App and Logic Apps.The benefit of Azure function is that since it is based on serverless architecture so you don’t need to be concerned with the lower level details of the functions such as mananging the OS and middleware.
This makes it easy not only to develop but also to deploy and scale the application.
Following is a basic function which is executed when http trigger is fired