Event Sourcing, APIs, C# and AI Agents
Twenty .NET reads cover Marten event sourcing, API documentation, JSONPath, async tradeoffs, tenant messaging, SQL data access, and AI agents.
Jasen's top three picks
- 1 Ultimate Guide to Handling 1 Million Requests Per Second: Engineering at the Scale of Giants
Medium - Dhananjay Patil
Scale claims are useful only when the workload, bottlenecks, and failure behavior are made explicit.
- 2 Getting Started With Event Sourcing in .NET With Marten and PostgreSQL
Medium - Anton Martyniuk
A practical starting point for teams considering an append-only model with PostgreSQL.
- 3 Union types as a Result - how it compares
Josef Ottosson
A timely comparison as C# evolves toward more expressive outcome modeling.
Editor's note
I pulled together a deliberately broad set today, from Marten event sourcing to API documentation choices. The multi-tenant messaging caution is worth reading because it puts operational failure modes ahead of tidy best-practice checklists.
Today's articles
Ultimate Guide to Handling 1 Million Requests Per Second: Engineering at the Scale of Giants
Medium - Dhananjay Patil
A Deep Dive into CPU Utilization, Multithreading, Clustering, Load Testing, Databases, Redis, C++, Network Optimization and High-Scale…
Topics: Benchmarking Performance Redis
Read articleGetting Started With Event Sourcing in .NET With Marten and PostgreSQL
Medium - Anton Martyniuk
Most applications store data by saving the current state to a database. Continue reading on CodeX »
Topics: Event Sourcing PostgreSQL
Read articleUnion types as a Result - how it compares
Josef Ottosson
I compared C#'s new union types against the Result class pattern.
Topics: C#
Read articleFoundry hosted agent isolation with Microsoft Agent Framework
Microsoft Dev Blogs - Roger Barreto
Foundry hosted agent isolation exposes two independent controls. User isolation identifies whose data may be used. At the same time, Foundry hosted session isolation identifies where code and files co...
Read articleThree Microsoft Agent Framework Posts, One Working App: RAG, a Custom Agent, and a Workflow Graph…
Medium - Ali Süleyman TOPUZ
I have been building small things with Microsoft Agent Framework (MAF) for about six weeks now, mostly evenings, mostly on a machine with…
Topics: Azure
Read articleClasses & Objects in C#: What .NET Interviews Actually Ask
Medium - Anchalmehandiratta
Classes and objects feel like the most basic topic in C# — until an interviewer starts stacking follow-up questions on top of each other…
Topics: C#
Read articleAdd self-service ad hoc reporting to an ASP.NET Core app (without writing every report yourself)
Medium - Dotnet Report Builder
By Razi Syed. Sample code: github.com/dotnetreport/dotnetreport-aspnetcore-quickstart
Topics: ASP.NET Core
Read articleHow to Include Custom Folders and Non-Code Files in Publish Output in .NET Using Visual Studio
Medium - Pramuditha Kaluthanthri
Normally when you publish a project, the custom folders and files that you manually add to your project(e.g.
Topics: .NET Core Visual Studio
Read articleAgentic RAG and chat completion in the Microsoft SQL engine | Data Exposed
YouTube - Microsoft Developer
Learn how you can use various capabilities within Microsoft SQL (SQL Server, Azure SQL, SQL DB in Fabric) to do things like chat completion, and integrate with Microsoft Foundry, Gateway, and Teams. ✅...
Topics: Azure OpenAI SQL Server
Read articleThe Hidden Cost of Correctness: Why Naive Systems Often Look Faster
Medium - Andres Gutierrez
One of the hardest lessons I have learned while building distributed systems is that performance and correctness are not independent goals.
Topics: Performance
Read articleStop Writing Backing Fields for Every Property: Meet field in C# 14
Medium - Sauradipta
C# 14 makes the journey from an auto-property to a validated property much cleaner — but that doesn’t mean every property should use field.
Read articleVisualize Data Structures in VS Code 🤯 #vscode #programming #coding #datastructures #developer
YouTube - Visual Studio Code
If you work with data structures, check out the Debug Visualizer extension for VS Code. It lets you visualize your data while debugging so you can actually watch algorithms and data structures change ...
Topics: Visual Studio Code
Read articleKnowledge cutoff is a poor proxy for model capability
Microsoft Developer - Waldek Mastykarz
A model can fail on features released before its knowledge cutoff, then succeed on ones released after it. We tested hundreds of product changes and found that the date tells you far less than the wor...
Topics: OpenAI
Read article⚡ Task vs ValueTask in C#: When Should You Actually Use ValueTask?
Medium - Ravikumar Makwana
For years, I returned Task from almost every async method. And honestly? That’s usually the right choice.
Topics: C# Performance
Read articleClosing the Loop
Rockford Lhotka's Blog
I’ve spent a lot of time over the past year working with coding agents, and one thing has become very clear to me: the big productivity gain doesn’t come from how fast the agent can write code. It com...
Topics: C#
Read articleUsing JsonPath with System.Text.Json to query JSON in .NET
Meziantou's blog - Gérald Barré
When you need to extract values from complex JSON payloads, manual navigation quickly becomes hard to read and maintain. Meziantou.Framework.JsonPath provides a JSONPath implementation for System.Text...
Topics: System.Text.Json
Read articleSwagger vs. Scalar: A comparison for ASP.NET Core developers
elmah.io Blog - .NET Technical tutorials/guides and new features - Ali Hamza Ansari
Swagger UI used to ship by default with ASP.NET Core API projects, but recent .NET versions replaced it with a bare OpenAPI document. This post compares Swagger and Scalar as documentation UIs, walks ...
Topics: ASP.NET Core REST API
Read articleMulti-Tenant Best Practices Can Backfire
CodeOpinion - Derek Comartin
You have a multi-tenant system, but you discover a pretty horrible bug. How can that be? You followed all the best practices! Your HTTP API places a message on a queue to generate an invoice. A backgr...
Topics: Authorization RabbitMQ
Read articleHow I use Claude Code to develop C# projects from my phone
Medium - Nils Lattek
With Claude Code Cloud Sessions you can run Claude Code even while your Notebook is closed.
Topics: C#
Read articleEF Core vs Dapper vs ADO.NET: Stop Picking Sides, Start Picking the Right Tool
Medium - Santanu Chandra
Three ways to talk to SQL Server from .NET, what each one really costs you, and how to choose without starting a religious war in your…
Topics: Dapper EF Core SQL Server
Read article