Let Postgres Enforce Tenant Isolation
EF Core query filters can be bypassed. PostgreSQL row-level security enforces tenant isolation on reads and writes, if you connect with the right data...
Page 2 of 23. Practical .NET and software architecture lessons.
EF Core query filters can be bypassed. PostgreSQL row-level security enforces tenant isolation on reads and writes, if you connect with the right data...
Four years ago this week, the first issue of this newsletter landed in a few hundred inboxes. Two hundred and ten issues later, I want to step back fr...
ASP.NET Core doesn't enforce an application timeout on incoming requests by default. The built-in middleware can add one, but it only cancels RequestA...
What does a good SQL index look like? I seeded Postgres with 1 million comments and measured every indexing decision with EXPLAIN ANALYZE: a 17ms sequ...
The home feed looks like the easiest feature in a social app: fetch posts from the accounts you follow, sort, return a page. That design collapses onc...
Every time I show a rich domain model, someone tells me EF Core can't persist it without public setters and a public constructor. That stopped being t...
Nobody regrets microservices on day one. The regret shows up eighteen months later, when the team is drowning in distributed-systems problems they nev...
I just shipped Katabench, and it's the most fun system I've ever built: it takes C# from strangers and runs it safely on servers I own. Three Hetzner ...
This website ran on Netlify for years, at $19 a month. Earlier this month I moved it to Cloudflare Pages: same repo, same GitHub Actions pipeline, zer...
The most common question I get about vertical slice architecture isn't about structure. It's "where do my tests go?" The layered-architecture testing ...
Join 66,000+ readers of The .NET Weekly for practical tips and resources to improve your .NET and software architecture skills.