Service Bus HA with paired namespaces
Azure Service Bus is one of the oldest cloud services on Azure. As any service living in the cloud, it grows, iterates, and changes. Among various features that the service has, there's one that could...
View ArticleAzure Functions to make audit queue and auditors happy
Using NServiceBus on Azure allows the best of two worlds – robust and reliable messaging framework on top of excellent Azure services. Azure services and any other cloud provider as well have strict...
View ArticleBend Message Deduplication on Azure Service Bus to Your Will
Duplicates detection functionality provided by Azure Service Bus can automatically remove duplicate messages sent to a queue or topic. Deduplication is always based on the value of the MessageId...
View ArticleNotifications with MyGet and Azure Functions
If you're doing .NET development, you're probably familiar with NuGet packages. You might have also heard about MyGet service that offers an excellent package management. But have you looked at the...
View ArticleAzure Service Bus Client Performance Counters
Identifying issues is never trivial. It is even harder when the problem is hidden, and there's are no logs or traces to go through. Application using Azure Service Bus started to throw an exceeded...
View ArticleThe secret brotherhood of the message counts
When working with Azure Service Bus, message count is expected to report how many messages are found in the queue. Only if life was that simple. In the real world, things a bit more complicated. Let's...
View ArticleAzure Service Bus Message: Wanted Dead or Alive
Running NServiceBus on Azure sometimes can be challenging. Take for example the Azure Service Bus transport. Every queue has additional queues that could contain either dead-lettered messages as a...
View ArticleMonitoring all Dead Letter Queues. Yes, multiple.
In my previous post The secret brotherhood of the message counts I talked about sub-queues any Azure Service Bus queue has. For a queue those where:queue/$DeadLetterQueuequeue/$Transferand...
View ArticleAzure Service Bus - Deploying with ARM
Azure Service Bus still can't be created at the new portal, aka Ibiza. To create Azure Service Bus namespace and create entities, one has to do in manually at the old portal. That wouldn't be so bad,...
View ArticleGetting to Environment Variables Fast
I tend to keep connection strings, security tokens, and other secrets in the environment variable. This is handy when you commit your code to a public repository and want to make sure that your storage...
View ArticleAzure Service Bus - AutoRenewTimeout
I was reading a question on StackOverflow where the requirement was to "Lock a Service-Bus Queue and prevent others from accessing it." Quite often when dealing with competing consumers and PeekLock...
View ArticleTask vs async Task
How often do you write code and think about what will it look like the compiler is done with it? If you're like me, not often. But is it a good thing that over the time we've learned to trust...
View ArticleAzure Service Bus - Purging Queues
Testing code that involves queues always has some utility code that is responsible for test cleanup. The cleanup is often implemented as a queue purge operation. For example, MSMQ allows to delete all...
View ArticleBuilding NuGet Notifications Nano Service with Azure Functions
Cloud Services (CS), then WebApps (formerly Web Sites), then WebJobs, and now Azure Functions. Are Functions to replace the predecessors? Well, before we jump into conclusion and "function" it all, I...
View ArticleTemplate an existing Azure Function
Do you need to create an Azure Function based on an existing one? While there's no a way to do this using the portal, I found it a temporary workaround. Head to the SCM portal (kudu portal). If you...
View ArticleNuGet V3 - Find and Download a Package
While working on a side project, I've run into a need to discover the latest version of a given NuGet package and download it. Being a side project, I've decided rather that using NuGet v2 API to try...
View ArticleCentralized Dead Letter Queue with Azure Service Bus
Azure Service Bus provides a robust Dead Letter mechanism. Each queue (or subscription) has its dead letter queue (DLQ). Messages ending up in DLQs are not necessarily poisonous, and potentially could...
View ArticleUpdating Azure Service Fabric Settings
Coming from the world of web applications where configuration file update is a matter of dropping a new version of a web.config file into the application, Azure Service Fabric can be a new territory....
View ArticleAzure Service Bus - Canceling Scheduled Messages
When Marty went back to 1955, he had no idea how to make it back. Using Azure Service Bus BrokeredMessage property ScheduledEnqueueTimeUtc to schedule a message in the future would feel the same when...
View ArticleAbandon with Reason
In some cases, when a message should be abandoned, Azure Service Bus offers BrokeredMessage.Abandon() API. The message is abandoned immediately; delivery count is increased, and message re-appears on...
View Article