Reducing Comments Clutter with GitHub Reactions
Last week GitHub has introduced what seems like a small feature, but a huge comments de-clutter if you ask me: reactions. I've been using Slack for quite a while and among the feature that slack has...
View ArticleEventProcessorHost Inject Dependencies
Processing with Azure EventHubs can be significantly simplified if using EventProcessorHost. EventProcessorHost is using Azure Storage account to track last read locations (pointers) in event hub...
View ArticleAzure Service Bus - OnMessage API
When it comes to receiving messages with ASB, there are plenty of options:QueueClient to receive messages from queues SubscriptionClient to receive messages from subscriptions MessageReceiver to...
View ArticleAzure Service Bus - Number of Messages in a Single Transaction
Azure Service Bus will not accept a transaction with more than a 100 messages. Not even if you send a batch. It is still a subject to the maximum 100 messages. If you try to send more, the exception...
View ArticleChoosing Topology with Azure Service Bus
Last week at the Calgary .NET usergroup presentation on Azure Service Bus I was talking about different options the services provides. Along with that, have also noted the quotas and limits subject to...
View ArticleAzure Functions
When Azure Functions were announced at the Build2016 conference, I had to see what is it. Part of my curiosity was fueled by the same thought I had for WebJobs when those where announced first. To be...
View ArticleAzure Service Bus Premium - Message Size
Messaging is about small messages. You should keep your messages relatively small. If you have fat messages, you're doing it wrong. All valid statements, until you look closer at the Azure Service Bus...
View ArticleCloud Services - Cached Version of Asseblies
Today have run into an interesting issue: a cloud service deployed with a 3rd party assembly version X was failing. The exception was indicating that version X-1 of the assembly was deployed. Looking...
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