C# Tip: Exception handling with WHEN clause 2022-02-08 2 min read CSharp Tips Instead of using if-else or switch blocks to handle exceptions, you can do it gracefully using the ‘when’ keyword. Continue reading
CRUD operations on PostgreSQL using C# and Npgsql 2022-02-01 8 min read Blog 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
Clean Code Tip: Avoid mental mappings 2022-01-25 2 min read Clean Code Tips Mental mappings are a good way to write shorter code that you, and only you, can understand. Prefer clarity over brevity! Continue reading
How to run PostgreSQL locally with Docker 2022-01-18 4 min read Blog PostgreSQL is a famous relational database. In this article, we will learn how to run it locally using Docker. Continue reading
Code opinion: should we trust Open Source after Log4J's issues? 2021-12-21 5 min read Blog 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
C# Tip: use yield return to return one item at the time 2021-12-14 4 min read CSharp Tips 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
Profiling .NET code with MiniProfiler 2021-12-07 6 min read Blog 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