Modern applications, especially cloud applications running on right-sized infrastructure, rely heavily on efficient resource management, but “efficiency” doesn’t always mean “low usage.” High CPU or memory consumption can be either a red flag or a sign of optimal performance, depending on the context. In this post, we’ll explore when to celebrate high resource usage—and when to panic—with a focus on .NET applications.
Continue reading “Understanding High CPU and Memory Usage: When to Act and When to Relax”Category: Azure
Exploring options for building REST APIs with C# and deploying to Azure
Somebody asked me, what is the difference between a C# REST API running as a Web App on an App Service as a container and a C# REST API running as a HTTP Function on an App Service or a Consumption Plan?
There are lots of aspects in this question, so let’s unpack this a bit first.
First, let’s talk about the various ways we can build REST APIs in .NET.
Then, we’ll talk about how you can deploy these, either as code or as a container.
Last, we’ll explore – if you end up with a container – which Azure service best fits your needs.
Adding a CorrelationId for Exceptions for Application Insights (DRAFT)
Admittedly, this title could be shorter, but it s also a bit of a niche topic.
Continue reading “Adding a CorrelationId for Exceptions for Application Insights (DRAFT)”Overriding Application Insights log levels
Choosing a CosmosDB Consistency Level
For an elaborate explanation, see the official docs which contain this image, but without further explanation a bit enigmatic.

In this blog post we explore how you should pick the correct middle ground.
Continue reading “Choosing a CosmosDB Consistency Level”