Outbox, middleware, and API hardening
A mixed .NET lineup covering outbox reliability, middleware, JSON, performance tuning, security, clean architecture, and API resilience.
Jasen's top three picks
- 1 The Outbox Pattern in .NET: Reliable Event-Driven Microservices Without the Headaches
medium.com
A solid walkthrough of the outbox pattern for keeping event-driven systems consistent without fragile hand-rolled plumbing.
- 2 The Only Reliable Way to Spot Good .NET Code: It’s Not What You Think!
medium.com
This is a useful reality check on judging code quality by maintainability and clarity, not just clever syntax.
- 3 ⚙️ .NET Middleware Demystified: Native Patterns That Power Every Request
medium.com
A good breakdown of middleware fundamentals for anyone who wants to understand where request behavior really lives.
Editor's note
I curated a deliberately mixed issue this time: reliability, performance, and day-to-day coding craft all show up. The outbox pattern and HttpClient resiliency pieces are especially practical if you build distributed systems. I also liked the middleware and async/await articles for the kind of mistakes that quietly cost teams time.
Today's articles
The Outbox Pattern in .NET: Reliable Event-Driven Microservices Without the Headaches
medium.com
https://medium.com/@thesimonverma/the-outbox-pattern-in-net-reliable-event-driven-microservices-without-the-headaches-84fb32beaef8
Topics: .NET Core Event Sourcing Service Bus
Read articleThe Only Reliable Way to Spot Good .NET Code: It’s Not What You Think!
medium.com
https://medium.com/c-sharp-programming/the-only-reliable-way-to-spot-good-net-code-its-not-what-you-think-08db07134ffe
Topics: C# Solid Principles
Read article⚙️ .NET Middleware Demystified: Native Patterns That Power Every Request
medium.com
https://medium.com/@metoz.florian/%EF%B8%8F-net-middleware-demystified-native-patterns-that-power-every-request-da2281e0793b
Topics: ASP.NET Core .NET Core
Read articleProfessional JSON Handling in .NET
medium.com
https://medium.com/asp-dotnet/professional-json-handling-in-net-3cfa56dd116b
Topics: ASP.NET Core System.Text.Json
Read articleHow to Improve Application Performance By Caching Data in Web Pages
learn-code-learn.medium.com
https://learn-code-learn.medium.com/how-to-improve-application-performance-by-caching-data-in-web-pages-7c15da841ac0
Topics: ASP.NET Core Performance
Read articleBuilding Zero-Trust Architectures with C# Services
c-sharpcorner.com
https://www.c-sharpcorner.com/article/building-zero-trust-architectures-with-c-sharp-services/
Read articleWhy Is Your .NET App Slow? Memory Analysis & Fixes
medium.com
https://medium.com/asp-dotnet/why-is-your-net-app-slow-memory-analysis-fixes-ad3a886e5864
Topics: Performance Profiling
Read articleAre Controllers on Their Way Out? (Spoiler: They’re Getting Distracted)
medium.com
https://medium.com/write-a-catalyst/are-controllers-on-their-way-out-spoiler-theyre-getting-distracted-9de14b25cb1e
Topics: ASP.NET Core Minimal APIs
Read articleI have deeply investigated Records in C#, so you don’t have to.
codenp.com
https://codenp.com/i-have-deeply-investigated-records-in-c-so-you-dont-have-to-9cff83633a5e?source=rss------csharp-5
Read articleBuilding an E-Commerce Chatbot in ASP.NET Using SQL Server
c-sharpcorner.com
https://www.c-sharpcorner.com/blogs/building-an-ecommerce-chatbot-in-asp-net-using-sql-server
Topics: ASP.NET Core OpenAI SQL Server
Read articleHackerRank: Plus Minus Solution in C#
davutdursun.medium.com
https://davutdursun.medium.com/hackerrank-plus-minus-solution-in-c-f35e0ca9b171
Topics: C# Unit Testing
Read articleC# Symbol Secrets: How !, ?, ?: Can Make You a Better Developer
medium.com
https://medium.com/@nagarajvela/c-symbol-secrets-how-can-make-you-a-better-developer-8b9f42e2cbe9
Topics: C#
Read articleRunning RAG with ONNX Runtime GenAI for On-Prem Windows
devblogs.microsoft.com
https://devblogs.microsoft.com/ise/running-rag-onnxruntime-genai
Read articleMediator Without MediatR: Build Your Own CQRS Dispatcher in 30 Lines
medium.com
https://medium.com/@metoz.florian/mediator-without-mediatr-build-your-own-cqrs-dispatcher-in-30-lines-a43edd474faa
Topics: CQRS Design Patterns MediatR
Read articleBoost Your .NET Projects: Simplify Dictionary Handling with AutoDefaultDictionary in Spargine
dotnettips.wordpress.com
https://dotnettips.wordpress.com/2025/05/04/boost-your-net-projects-simplify-dictionary-handling-with-autodefaultdictionary-in-spargine/
Read articleYour Database Isn’t a Junk Drawer — So Stop Treating It Like One
medium.com
https://medium.com/@michaelmaurice410/your-database-isnt-a-junk-drawer-so-stop-treating-it-like-one-80abb47f29ec
Topics: EF Core SQL Server
Read articleTop 5 Must-Have .NET Libraries for 2025 Projects
medium.com
https://medium.com/@karthikns999/top-5-must-have-net-libraries-for-2025-projects-aea86de70260
Topics: Clean Architecture .NET Core
Read articleClean Architecture in .NET
medium.com
https://medium.com/@faysalwrites/clean-architecture-in-net-12e8243caefb
Topics: C# Unit Testing
Read articleAvoid These 7 C# Coding Mistakes Beginners Make
medium.com
https://medium.com/@venkataramanaguptha/avoid-these-7-c-coding-mistakes-beginners-make-7477cf3248f9
Topics: Azure SQL Server
Read articleWhat is Mirrored data in SQL database in Fabric?
youtube.com
https://www.youtube.com/watch?v=xnl6Vnr7l8E
Topics: ASP.NET Core REST API
Read articleBuilding “Production-Grade” APIs in .NET
eventuallyconsistent.xyz
https://www.eventuallyconsistent.xyz/what-is-production-ready-api
Topics: ASP.NET Core .NET Core
Read articleConfiguring dotnet core apps for OpenApi with SwaggerUi or Scalar
ravindradevrani.com
https://ravindradevrani.com/posts/configuring-dotnet-core-app-for-swagger-ui-or-scalar/
Read article20 Worst Async/Await Patterns in .NET (With Examples)
medium.com
https://medium.com/@metoz.florian/20-worst-async-await-patterns-in-net-with-examples-52f058562a98
Topics: ASP.NET Core REST API
Read articleMastering HttpClient Resiliency in .NET: Part 1 — CircuitBreaker, Retry, Timeout, and more (C#)
ogulcanturan.medium.com
https://ogulcanturan.medium.com/mastering-httpclient-resiliency-in-net-part-1-circuitbreaker-retry-timeout-and-more-c-af0d54cb3d6f
Topics: C# Performance
Read article