DEMOS

Every post ships with a minimal, runnable companion repo. Clone it, run it, argue with it. All MIT, all under github.com/gdhami-net.

api-cancellation-demo
.NET 10

Three endpoints doing the same five seconds of work: one ignores a disconnect, one stops with the caller, one adds a server-side ceiling. Two curl commands reproduce the whole post.

companion to: Your API ignores the user who gave up →
api-state-demo
TypeScript

Boolean soup vs discriminated union in one file — including the impossible state the soup happily accepts. Compiles clean under strict.

github.com/gdhami-net/api-state-demo →
hybridcache-stampede-demo
.NET 10

Two endpoints, one shared counter of database calls. Burst 50 parallel requests at each and watch the classic cache stampede while HybridCache holds at one.

github.com/gdhami-net/hybridcache-stampede-demo →
testcontainers-demo
.NET 10

Two tests against real infrastructure in throwaway Docker containers: the NVARCHAR(10) insert that SQLite accepts and SQL Server refuses, and a message round-tripping through actual RabbitMQ.

companion to: Integration tests that lie →
zoneless-signals-demo
Angular

An Angular app with no zone.js installed at all. A signals counter that just works, next to the setTimeout mutation that changes the value but not the screen — the exact bug the migration order flushes out.

companion to: Life without Zone.js →