[Video] Outbox meets change data capture - hooking into the Write-Ahead Log (feat. .NET, PostgreSQL & Kafka)

Another video on using change data capture (often referred to as CDC), to hook up into the database transaction log, forwarding incoming entries to the outbox table.

July 27, 2022 · 1 min · 136 words · João Antunes

[Video] What's the point of async/await in an ASP.NET Core application?

I’ve been noticing in recent chats that folks have difficulty explaining why do we use async/await, tasks and related, when building ASP.NET Core applications.

May 30, 2022 · 1 min · 93 words · João Antunes

[Video] Quick shout-out to DevToys

Wanted to very briefly share a tool I’ve come across a couple of months ago: DevToys.

May 3, 2022 · 1 min · 106 words · João Antunes

[Video] Polymorphic JSON Serialization (feat. .NET & System.Text.Json)

Time for one more video on messing with System.Text.Json, this time to get polymorphic (de)serialization going.

April 13, 2022 · 1 min · 68 words · João Antunes

OpenAPI extensions and Swashbuckle

Let’s take a quick look at OpenAPI extensions (which I discovered were a thing last week 😛) and how to add them to our API description using ASP.NET Core and Swashbuckle.

February 21, 2022 · 5 min · 861 words · João Antunes

Array or object JSON deserialization (feat. .NET & System.Text.Json)

Ah, the joys of integrating with third-party APIs… We always end up having to hammer something to get things working 🤣. This is a post about one of such situations, resorting to some JSON deserialization trickery (via JsonConverter) to be able to get things working.

January 31, 2022 · 4 min · 689 words · João Antunes

[Video] Outbox meets change data capture (feat. .NET, PostgreSQL, Kafka and Debezium)

Quick video with an interesting approach to implement the publisher part of the outbox pattern. Using change data capture (often referred to as CDC), we hook up something to the database transaction log, forwarding incoming entries to the outbox table. In this example, we’ll make use of Debezium, hooked up into a PostgreSQL database, forwarding messages to Kafka.

January 17, 2022 · 1 min · 89 words · João Antunes

Getting a complex type as a simple type from the query string in a ASP.NET Core API controller

This is a tale of a good amount of hours of wasted time, so I’m going to document it so I remember it in the future. The idea is simple: when building an API, how can we treat a complex type as a simple type, to avoid things like primitive obsession, implement strongly typed ids and other related patterns? Let’s find out! 🙂

January 3, 2022 · 8 min · 1589 words · João Antunes

[Video] Checking out NDepend

Let’s take a look at something that’s been around for years, but maybe flew under the radar: NDepend, a static code analysis tool tailored for .NET.

December 6, 2021 · 1 min · 80 words · João Antunes

[Video] High-performance and compile-time logging source generation in .NET 6

Quick little video about an interesting new logging related feature coming in .NET 6, compile-time logging source generation, as well as related high-performance logging features, which were already present but probably not very well known.

November 21, 2021 · 1 min · 72 words · João Antunes