C# Tip: Exception handling with WHEN clause 2022-02-08 Last updated: 2024-10-21 2 min read CSharp Instead of using if-else or switch blocks to handle exceptions, you can do it gracefully using the ‘when’ keyword. Continue reading Share it on
CRUD operations on PostgreSQL using C# and Npgsql 2022-02-01 Last updated: 2026-03-04 8 min read CSharp Database SQL PostgreSQL Once we have a Postgres instance running, we can perform operations on it. We will use Npgsql to query a Postgres instance with C# Continue reading Share it on
Clean Code Tip: Avoid mental mappings 2022-01-25 Last updated: 2023-10-04 2 min read Clean Code Mental mappings are a good way to write shorter code that you, and only you, can understand. Prefer clarity over brevity! Continue reading Share it on
How to run PostgreSQL locally with Docker 2022-01-18 Last updated: 2024-11-25 4 min read PostgreSQL Docker Database PostgreSQL is a famous relational database. In this article, we will learn how to run it locally using Docker. Continue reading Share it on
Code opinion: should we trust Open Source after Log4J's issues? 2021-12-21 Last updated: 2026-03-04 5 min read MISC Code Opinion With Log4J’s vulnerability, we’ve all been reminded that systems are vulnerable, and OSS are not immune too. What should we do now? Continue reading Share it on
C# Tip: use yield return to return one item at the time 2021-12-14 Last updated: 2024-10-21 4 min read CSharp Yield is a keyword that allows you to return an item at the time instead of creating a full list and returning it as a whole. Continue reading Share it on
Profiling .NET code with MiniProfiler 2021-12-07 Last updated: 2026-03-04 6 min read CSharp dotnet Is your application slow? How to find bottlenecks? If so, you can use MiniProfiler to profile a .NET API application and analyze the timings of the different operations. Continue reading Share it on