DEV Community

Cover image for AzureFunBytes Reminder - @Azure Durable Functions For Automation With @LBugnion - 1-13-2022
Jay Gordon for Microsoft Azure

Posted on

AzureFunBytes Reminder - @Azure Durable Functions For Automation With @LBugnion - 1-13-2022

AzureFunBytes is a weekly opportunity to learn more about the fundamentals and foundations that make up Azure. It's a chance for me to understand more about what people across the Azure organization do and how they do it. Every week we get together at 11 AM Pacific on Microsoft LearnTV and learn more about Azure.

When: January 13, 2022 11 AM Pacific / 2 PM Eastern
Where: Microsoft LearnTV

AzureFunBytes animation

This week on AzureFunBytes we're diving back into serverless technology by discussing how to write stateful functions! Azure Durable Functions is an extension of Azure Functions that lets you define stateful workflows with what is known as "orchestrator functions." You can create these stateful entities by writing entity functions using the Azure Functions programming model.

When working on Azure, and especially when it comes to automating processes, Azure Functions (aka serverless functions) are very useful. But they also have some limitations. Functions are an extension of Azure Functions that overcome some of the serverless limitations. With Durable Functions, you can run long processes, execute multiple instances of functions in parallel, and more.

Durable Functions scale based on need which keeps costs under control when implementing complex workflows on Azure. Some of the key features of Durable Functions include:

  • Using event driven code.
  • Chaining functions together
  • Orchestration and coordination of functions, including the order of execution.
  • State is managed for you so you don't have to write code to save state information for long-running functions.

Work on creating your code and not managing the infrastructure required. Let the Durable Functions framework take care of activity monitoring, synchronization, and runtime concerns. You can also use many of the popular programming languages you are already familiar with.

Supported languages

Durable Functions currently supports the following languages:

  • C#: both precompiled class libraries and C# script.
  • JavaScript: supported only for version 2.x or later of the Azure Functions runtime. Requires version 1.7.0 of the Durable Functions extension, or a later version.
  • Python: requires version 2.3.1 of the Durable Functions extension, or a later version.
  • F#: precompiled class libraries and F# script. F# script is only supported for version 1.x of the Azure Functions runtime.
  • PowerShell: Supported only for version 3.x of the Azure Functions runtime and PowerShell 7. Requires version 2.x of the bundle extensions.

To help me learn more about Azure Durable Functions I'll welcome back to the show Microsoft Senior Cloud Advocate, Laurent Bugnion. Laurent will discuss how he used Durable functions to automate important processes at Microsoft, update web pages and help create the Learn Live series of shows.

Our agenda includes:

  • What are Durable Functions and how they extend Azure Functions?
  • How does Visual Studio Code help create Durable Functions?
  • How Durable Functions helps automate execution of Azure Functions.
  • What are some appropriate use cases for Durable Functions?

More about Laurent Bungion:

I work as Senior Cloud Developer Advocate for Microsoft Azure after almost 10 years spent working for IdentityMine and Valorem, two leading firms in Microsoft technologies. I code in Azure, .NET, Windows, WPF, Xamarin (iOS and Android), ASP.NET (Core and Classic).

On my free time, I write for technical publications such as MSDN Magazine, publish technical videos on YouTube and Microsoft Channel 9, and my blog is on blog.galasoft.ch. I am a frequent speaker at conferences such as Microsoft Ignite, Microsoft Build, TechEd, VS Live, Techorama and many other international events.

Prior to joining Microsoft, I was a Microsoft Most Valuable Professional for Windows development from 2007 to 2017, a Microsoft Regional Director from 2013 and a Xamarin Most Valuable Professional from 2015. I am also the author of the well-known open source framework MVVM Light for Windows, WPF and Xamarin.

So be part on Thursday, January 13 at 11 AM PT / 2 PM ET on LearnTV with your questions!


Learn about Azure fundamentals with me!

Live stream is normally found on Twitch, YouTube, and LearnTV at 11 AM PT / 2 PM ET Thursday. You can also find the recordings here as well:

AzureFunBytes on Twitch
AzureFunBytes on YouTube
Azure DevOps YouTube Channel
Follow AzureFunBytes on Twitter

Useful Docs:
Get $200 in free Azure Credit
Microsoft Learn: Introduction to Azure fundamentals
Microsoft Learn: Create serverless applications
Microsoft Learn: Create a long-running serverless workflow with Durable Functions
Introduction to Azure Functions
Azure Functions documentation
Durable functions patterns
A presentation about durable functions
Repo with durable functions patterns (work in progress)
GalaSoft

Discussion (0)