Microsoft Azure Functions

INTRODUCTION

I’m going to explain about Microsoft Azure functions. Azure functions let you develop serverless applications run on Windows Azure. 

AZURE
Microsoft provides a solution to easily run small segment of code in the cloud with Azure Functions. Functions can help create the application, process data, integrate systems and build simple APL programs.
AZURE 
Azure Functions support different lanaguages such as C#, F#, Node.js, Java or PHP.

FEATURES

  • The function runtime is open source.
  • Azure function provides integrated security protect HTTP-triggered functions.
  • Developers can code Azure functions directly within Azure portal.
  • It provides a choice of language functions -- C#, F#, or Javascript.
  • We pay only for the time we spend running our code.
  • Functions support NuGet and NPM.
  • Azure function uses Azure storage to manage triggers and log functions.
  • Flexibility integrating and deploying code through GitHub, VisualStudioTeam services.
  • Avoid long-running Functions.

FUNCTIONS CAN DO:

  • Azure functions integrate with various Azure and third-party services.
  • Azure requires an Azure storage account that supports Azure blobs, Queues and table storage Service.
  • Function communicates between multiple functions, that’s why its called cross function communication.
  • Azure functions secure the outside HTTP triggers with OAuth system.

FUNCTIONS USING TRIGGERS:

Azure functions support triggers used to start execution of your code, and buildings, which are ways to simplify coding for input and output data.

HTTP TRIGGER :

The HTTP trigger used to execute your code by using an HTTP request.

AZURE

BLOB TRIGGER

The blob trigger is used for image resizing.

CosmosDB TRIGGER

Processes Azure cosmos DB documents when they are updated or added in a NoSQL database.

TIME TRIGGER

The function creates the trigger using a timer.They have predefined schedules which execute the application or other batch tasks.

 QUEUE TRIGGER

This trigger is used to store the functions in a queue and respond to messages as they arrive in an Azure queue storage.

EVENTHUB TRIGGER

It's particularly useful in the Internet of Things(IoT), user experience and workflow processing scenarios. Respond to events delivered to an Azure EventHub.

SERVICEBUSQUEUE TRIGGER

The service bus queue trigger connects your code to other Azure services by listening to message queues.

SERVICEBUSTOPIC TRIGGER

The servicebustopic trigger connects your code to other Azure services by subscribing to topics.

GitHub WEBHOOK

It responds to events that occur in your GitHub repositories.

GENERIC WEBHOOK

This happens by an HTTP request from any service that supports webhook.

FUNCTION USING INTEGRATIONS

The Azure function Integrates with various Azure and third party services.These services can trigger your function and start executing.They can serve input and output for your code.

AZURE 

Integrations supported by Azue functions are followed by:

  • Azure Mobile Apps(Tables).
  • Azure Service Bus(queue & Table).
  • Azure Storage(blob,queue,and Tables).
  • Azure Event Hubs.
  • Azure Event Grid.
  • Azure Cosmos DB.
  • Azure Notification Hubs.
  • GitHub(Webhooks).
  • On-premises(using service bus).
  • Twilio(SMS message).
CONCLUSION

I hope this blog showing Microsoft Azure functions was useful.