Azure Functions Isolated Worker - Sending multiple messages
The new Azure Functions SDK for Isolated Worker (process) has been introduced around .NET 5. While it's still in flux despite being GA-ed, it's gaining more and more popularity. And yet, there are...
View ArticleService Bus Message to Blob
About 5+ years ago I blogged about turning messages into audit blobs. Back then, it was for Storage Queue messages and the early Azure Functions implementation that required portal configuration. Since...
View ArticleExecuting Azure Timer function manually
Azure timer triggered. Functions are convenient for automated execution. With the specified time interval, a function gets to execute when specified and then sleeps until the subsequent execution.But...
View ArticleImpersonating Events
Azure Service Bus queues and subscriptions are an excellent way to process messages using competing consumers. But it can also get really tricky. Let's look at a scenario where a single event needs to...
View ArticleSagas with Azure Service Bus
IntroductionHandling messages out of order is always tricky. The asynchronous nature of messaging makes it challenging. On top of that, systems in the real world are messy and unpredictable. That's why...
View ArticleFixing NServiceBus default databus serializer in .NET 6
Upgrading to .NET 6, updating all the packages, boosters turned on, launching testing.Houston, we've got a problem.System.NotSupportedException: BinaryFormatter serialization and deserialization are...
View ArticleUpdating Azure Functions Tools
Azure Functions Tools is at the heart of providing local development for Azure Function. Whenever you use Visual Studio, Rider, VS Code, or anything else, you need it to be able to run your bits. For...
View ArticleManually Completing Service Bus Messages with Functions
Message settlement with Azure Service Bus has undergone some changes over the past few iterations of the Service Bus SDK for .NET. In the latest SDK (Azure.Messaging.ServiceBus), the settlement is...
View ArticleWhy Event Sourcing?
Some contextI've seen software systems built since 2001. My first exposure was to classic ASP and VB6 applications with traditional state-based architecture. As someone new to software development, I...
View ArticleAzure Function: One Line of Insanity
Azure Functions Isolated Worker SDK is an easy-to-set-up and get-running framework. The minimal Progarm.cs is hard to mess up.var host = new HostBuilder() .ConfigureFunctionsWorkerDefaults() .Build();...
View ArticleAzure Blob Storage Cold Tier
Azure Storage service is the foundational building block in cloud architecture. Cheap, reliable, resilient, and powerful. From small solutions to monster systems, Blob service, in particular, is...
View ArticleRecoverability with Azure Functions
When working with Azure Service Bus triggers and Functions, the recoverability story is not the best with the out-of-box implementation. To understand the challenges with the built-in recoverability...
View ArticleRecoverability with Azure Functions - Delayed Retries
In the previous post, I showed how to implement basic recoverability with Azure Functions and Service Bus. In this post, I'm going to expand on the idea and demonstrate how to implement a back-off...
View ArticleAuditing with Azure Functions
In the previous two posts about recoverability, I focused on the rainy day scenarios where intermittent failures require retries and backoffs. This post will focus on the happy day scenario, where...
View ArticleCreating Azure Storage SFTP with Password using Bicep
Azure Storage service has a neat little option for hosting an SFTP. Doing so lets you upload your files as blobs to your Storage account. This is extremely helpful, especially when working on the...
View ArticleDateTime to String with Custom Formatting
When formatting DateTime to a string, the format specifier provides access to the parts of the date and time we want to express as a string. E.g.DateTime.UtcNow.ToString("yyyy-MM-dd HH:mm:ss.fff")will...
View Article