C#

Azure Functions: Cold Start Duration per Language

The following chart shows the typical range of cold starts in Azure Functions, broken down per language. The darker ranges are the most common 67% of durations, and lighter ranges include 95%.

Read more...

AWS Lambda: Cold Start Duration per Language

The following chart shows the typical range of cold starts in AWS Lambda, broken down per language. The darker ranges are the most common 67% of durations, and lighter ranges include 95%.

Read more...

How to Drain a List of .NET Tasks to Completion

Custom await logic for a dynamic list of .NET tasks, fast and on-time

Read more...

Unit Testing Cloud Deployments with Pulumi in C#

Developing infrastructure programs in C# with unit tests, TDD, and mocks

Read more...

Monads explained in C# (again)

Yet another Monad tutorial, this time for C# OOP developers

Read more...

Unit testing null parameter checks

We use constructor dependency injection throughout our application. Most service classes have constructors, which accept all dependencies in form of interfaces. We also use TDD, which means we must write unit tests for every aspect of our code. So I want to discuss one specific aspect: guarding the constructor parameters from null values and testing this guard.

Read more...

Sgen to precompile classes for XmlSerializer

During my investigation of our ASP.NET application performance issue, I've found out that XmlSerializer may require a long warm-up. The first time, when it's used for a specific class (de-)serialization, can take up to 500 ms om my machine!

Read more...

Multi-level telerik's TileView

We were investigating the options for visual representation of hierarchical dashboard in our Silverlight application. This means, we want to display the number of gauges with tree-like structure. Here is a sample...

Read more...

Hunting memory leaks in Silverlight

Recently, I've spent a couple of days seeking and fixing memory leaks in our Silverlight application. It might be tough sometimes, but it's a good 'brain-teasing' practice and it's a good way to learn how inner things work.

Read more...

Speech bubble custom border control in Silverlight

Recently, I was trying to find a Silverlight control, which works like a standard Border, but looks like a Speech Bubble instead. This means the border would have a "leader" triangle, which could point to a related visual element.

Read more...