Email: Password:       Forgot Password 
A Saarsha Group Online Community for dot net codes group like C#, Asp.NET, VB.NET, Sharepoint, JavaScript, JQuery, Ajax, SQL, WCF, WPF.

Azure Functions – An Overview

Viewed:  1020 
Posted On:  20/09/2019 19:12:39 
What is Azure Functions? For what purpose we have Azure Functions? 


Azure Functions is a solution for easily running small pieces of code, or "functions" in the cloud. You can write just the code you need for the problem at hand, without worrying about a whole application or the infrastructure to run it.

Azure Functions can make development even more productive, and you can use your development language of choice, such as C#, Java, JavaScript, Power-Shell, and Python. Pay only for the time your code runs and trust Azure to scale as needed.

Azure Functions lets you develop server-less applications on Microsoft Azure.

Features of Azure Functions:

  • Choice of language - C#, Java, JavaScript, Python, and other languages)
  • Pay-per-use pricing model - Pay only for the time spent running your code. 
  • Bring your own dependencies - Functions supports NuGet and NPM.
  • Integrated security - Protect HTTP-triggered functions with OAuth providers such as Azure Active Directory, Facebook, Google, Twitter, and Microsoft Account.
  • Simplified integration - Easily leverage Azure services and software-as-a-service (SaaS) offerings.
  • Flexible development - Code your functions right in the portal or set up continuous integration and deploy your code through GitHub, Azure DevOps Services, and other supported development tools.
  • Open-source - The Functions run time is open-source and available on GitHub.


Capability of Azure Functions:

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

Scenario Templates in Azure Functions:

  • HTTPTrigger - Trigger the execution of your code by using an HTTP request. For an example.
  • TimerTrigger - Execute cleanup or other batch tasks on a predefined schedule.
  • CosmosDBTrigger - Process Azure Cosmos DB documents when they are added or updated in collections in a NoSQL database.
  • BlobTrigger - Process Azure Storage blobs when they are added to containers. You might use this function for image resizing.
  • QueueTrigger - Respond to messages as they arrive in an Azure Storage queue.
  • EventGridTrigger - Respond to events delivered to a subscription in Azure Event Grid. Supports a subscription-based model for receiving events, which includes filtering. A good solution for building event-based architectures.
  • EventHubTrigger - Respond to events delivered to an Azure Event Hub. Particularly useful in application instrumentation, user experience or workflow processing, and internet-of-things (IoT) scenarios.
  • ServiceBusQueueTrigger - Connect your code to other Azure services or on-premises services by listening to message queues.
  • ServiceBusTopicTrigger - Connect your code to other Azure services or on-premises services by subscribing to topics.


Azure Functions integrates with various Azure and 3rd-party services. These services can trigger your function and start execution, or they can serve as input and output for your code.

The following service integrations are supported by Azure Functions:

  • Azure Cosmos DB
  • Azure Event Hubs
  • Azure Event Grid
  • Azure Notification Hubs
  • Azure Service Bus (queues and topics)
  • Azure Storage (blob, queues, and tables)
  • On-premises (using Service Bus)
  • Twilio (SMS messages)


Costing of Azure Functions:

Azure Functions has two kinds of pricing plans. Choose the one that best fits your needs:

Consumption plan - When your function runs, Azure provides all of the necessary computational resources. You don't have to worry about resource management, and you only pay for the time that your code runs.

App Service plan - Run your functions just like your web apps. When you are already using App Service for your other applications, you can run your functions on the same plan at no additional cost.


Information source: Azure Microsoft Documentation

         HOME   |   Submit Article   |   Contact Us   |   About Us   |   Terms & Condition   |   Advertise With us