Introduction To Azure Functions

Azure Functions

Azure functions is the best solution for running small pieces of code or small functions in the cloud. You don’t need to worry about the whole application or infrastructure to run it.

It helps you to make your development more productive and also you can choose your own language to develop like C#, F#, Python or PHP.

Azure functions help you to develop serverless applications on Microsoft azure.

Features

There are some Key feature of Azure Functions,

  • Language Choice - You can write azure functions in any of your languages using C#, F#,Node.js, Python, PHP.
  • Pay Per Use - Pay per use means pay only the time spent running the code.
  • Use your own Dependencies - Exciting part of azure is that you can use NuGET and NPM kinds of libraries as it supports these libraries
  • Security - It protects your HTTP- triggered functions with your Oath providers in the market like Active Directory, Facebook, Twitter, Google.
  • Integration Simplified - You can easily leverage SAAS and other azure services.
  • Flexibility development - You can code directly into the portal or you can use open source like GitHub for deploy your code directly into it and also it supports Visual Studio Team Services.
  • Open source support and advantage - Basically function runtime is open -source.

Work with Functions

Azure Functions is a very effective and awesome solution for processing data, integrating systems, working with (IOT). Azure functions are also helpful when we consider this for tasks like image processing, file maintenance or for any task for which you want to run any schedule.

Azure functions provide you several templates which you can start with,

  • Blob Trigger - You use this function to resize your image.
  • Event Hub Trigger - It responds to whatever events ar delivered to Azure Event Hub. Useful for workflow processing and IOT Scenarios.
  • Generic Web hook - It process web hook Http requests from any of your services which supports web hooks.
  • GitHub Web hook - It responds whenever any event occurs in your GitHub repositories.
  • Http Trigger - By using the Http Request you can trigger the execution of your code.
  • Queue Trigger - Immediate response to that messages which arrives in Azure Storage queue.
  • Service Bus Queue Trigger - This helps you to connect with your other azure services. Basically, it connects your code to azure services by listening to message queues.
  • Service Bus Topic Trigger - This helps you to connect with your other azure services. Basically, it connects your code to azure services by subscribing to topics.
  • Timer Trigger - This feature template helps you to clean up the batch tasks and predefined schedules

Thanks for reading this article. Stay tuned with me for more articles on Azure.