There can be only oneAlthough event-driven is great, sometimes you want to use a good old scheduler to execute tasks on a regular basis, but how to prevent…Written by Robert KranenburgDec 1 2019 • 3 min read
Taming Unit Test logging in Docker pipeline for .NETAutomated unit tests are the backbone of the testing pyramid. Unit tests enable us to solve bugs using a test driven development strategy…Written by Kees C. BakkerFeb 1 2018 • 4 min read
Sorting a Dictionary on a List of KeysI can almost hear you thinking: “What super-weird problem are you trying to solve!?” Well… it is kind of an abstract one! Imagine you have…Written by Kees C. BakkerNov 9 2018 • 2 min read
.NET Core MVC: regex routing with named groupsRouting with regular expressions… to some the world would be a better place if everyone understood regular expressions. To others the world…Written by Kees C. BakkerNov 9 2018 • 2 min read
Implementing DRY with Python decoratorsDon’t repeat yourself ( DRY ) is a principle of software development aimed at reducing repetition of software patterns, replacing it with…Written by Jari (LotU)May 19 2020 • 3 min read
Connect to Jira with a Private Key (OAuth) using .NETWe have a .NET service that needs to connect with Jira to create, update and read issues. It would be easy if we could use a username…Written by Kees C. BakkerJun 28 2019 • 2 min read
Dependency Injection based on request headersDependency Injection (DI) helps us to change the behavior of parts of our application on the fly. This is especially neat when you want to…Written by Kees C. BakkerJun 4 2020 • 3 min read
Validate strongly typed options when using config sectionsI like to validate my application configuration upon startup. Especially when doing local development, I want to know which application…Written by Kees C. BakkerSep 25 2019 • 3 min read
Single query UPSERTs in PostgreSQLLet’s say you have an application that contains a request log. The log consists of 4 fields and is stored in a Postgres database. The table…Written by Jari (LotU)Feb 4 2020 • 2 min read