Compared: Azure Functions & Logic Apps

Comparison table & notes from the official Azure documentation:

The following services can solve integration problems and automate business processes -
  • Microsoft Flow
  • Azure Logic Apps
  • Azure Functions
  • Azure App Service WebJobs

They can all define input, actions, conditions, and output. You can run each of them on a schedule or trigger. Each service has unique advantages.

Microsoft Flow and Logic Apps are both designer-first integration services that can create workflows. Both services integrate with various SaaS and enterprise applications. Microsoft Flow is built on top of Logic Apps.

Azure Functions is built on the WebJobs SDKBoth Azure Functions & Azure App Service WebJobs are built on Azure App Service and support features such as source control integration, authentication, and monitoring with Application Insights integration.

Any console application can be converted to an HTTP web service in Azure Functions

Durable Functions are an extension of Azure Functions that lets you write stateful functions in a serverless environment.

Durable Functions Logic Apps
Development Code-first (imperative) Designer-first (declarative)
Connectivity About a dozen built-in binding types, write code for custom bindings Large collection of connectors, Enterprise Integration Pack for B2B scenarios, build custom connectors
Actions Each activity is an Azure function; write code for activity functions Large collection of ready-made actions
Monitoring Azure Application Insights Azure portal, Azure Monitor logs
Management REST API, Visual Studio Azure portal, REST API, PowerShell, Visual Studio
Execution context Can run locally or in the cloud Runs only in the cloud

Comments