An Introduction to Azure Functions
In a recent post from his blog, Application Development Manager Christian Reddington walks us through an introduction to Azure Functions. Azure Functions provide a solution for easily running small pieces of code (“functions”) in the cloud. You can write the code you need for the problem at hand, without worrying about a whole application of the infrastructure to run it. You can also develop in the language of your choice, such as C#, F#, Node.js, Python, or PHP.
Azure Functions is an event-driven Platform as a Service capability, helping you to execute code upon the occurrence of a particular event. It is currently in preview, though already has a lot of potential.
If you read my recent blog on Logic Apps, you may be thinking that this sounds somewhat familiar to Logic Apps. I agree, though there is a subtle difference. Quoting a blog post from chilberto, Azure Functions is code being triggered by an event, whereas LogicApps is a workflow being triggered by an event.
If you consider using Service Bus in a cloud architecture, you may also previously considered, or already implemented a worker role to de-queue and process messages off the bus. How about Azure Functions instead? Let’s give it a go.