EF Core Performance, AI Routing, Architecture Drift
Covers dnx tool execution, EF Core query tuning, .NET 10 minimal APIs, xUnit v3 changes, Redis Lua scaling, Aspire BFF security, and AI routing costs.
Jasen's top three picks
- 1 How to run .NET tools without the SDK
cazzulino.com
dnx looks like a small quality-of-life feature, but npx-style tool execution could materially simplify local setup and docs.
- 2 Building Architecture Drift Detection into .NET Pull Requests
c-sharpcorner.com
Good reminder that architecture rules only matter if they’re enforced where code changes actually happen.
- 3 The Silent Performance Killer: Understanding the N+1 Query Problem in EF Core
c-sharpcorner.com
N+1 still bites experienced teams. Worth a skim if your EF Core app feels slower than the hardware suggests.
Editor's note
I kept this issue intentionally mixed, which is usually where the best practical reading shows up. The dnx piece is a useful .NET 10 workflow shift, and the EF Core N+1 article is the kind of performance reminder teams still need. I also liked the architecture drift and fitness-function posts because they push CI beyond tests into structural enforcement.
Today's articles
How to run .NET tools without the SDK
cazzulino.com
.NET 10 shipped dnx (dotnet tool exec): one-shot nuget tools, npx-style. You don’t install them. You just run dnx stop and it downloads into the nuget cache and starts. NOTE: I’m using stop as the sam...
Read articleBuilding Architecture Drift Detection into .NET Pull Requests
c-sharpcorner.com
Build automated architecture drift detection into .NET pull requests to enforce architectural rules, identify dependency violations, and prevent unintended design changes in CI.
Topics: Azure DevOps Clean Architecture
Read articleThe Silent Performance Killer: Understanding the N+1 Query Problem in EF Core
c-sharpcorner.com
Learn how to identify and fix the N+1 query problem in Entity Framework Core using Include, projection, relationship queries, and efficient LINQ patterns to improve database performance.
Topics: EF Core Performance
Read articleMock It or Don’t? How to Decide What to Mock in Unit Tests
vahid-faraji-dev.medium.com
When we start writing unit tests in .NET, we quickly run into an important question:
Topics: Unit Testing
Read articleCapacity Is Not a Number: Atomic Admission and Scale-Out with Redis Lua in .NET
medium.com
Why deterministic selection is still unsafe without distributed reservation, how Redis Lua closes the race, and how bounded runtime and…
Topics: Performance Redis
Read articleBuild a .NET 10 Web API - Minimal APIs, EF Core & SQL Server
roundthecode.com
Build a .NET 10 Web API with Minimal APIs, Entity Framework Core and SQL Server, using Clean Architecture and FluentValidation.
Topics: .NET 10 Minimal APIs SQL Server
Read articleI Knew Dependency Injection Lifetimes. Until Someone Asked Me “Why?”
medium.com
The Day I Got Humbled in a Job Interview
Topics: .NET Core
Read articleBenchmarking Semantic Routing vs Failover Routing in microsoft.Extensions.AI
c-sharpcorner.com
Benchmark semantic routing and failover routing in Microsoft.Extensions.AI to compare model selection, reliability, latency, cost, and AI workload performance.
Topics: Benchmarking OpenAI Performance
Read articleMicrosoft.Extensions.AI Routing: Measuring Wrong-Model Selection Costs
c-sharpcorner.com
Learn how incorrect AI model routing affects cost, latency, response quality, and reliability using Microsoft.Extensions.AI routing capabilities and practical benchmarks.
Topics: Benchmarking OpenAI Performance
Read articleYA-RP-UI A .NET Package to help you visualize and see incoming traffic into YARP
medium.com
TL;DR
Topics: ASP.NET Core
Read articleBuilding Architecture Fitness Functions for AI-Generated .NET Code
c-sharpcorner.com
Build architecture fitness functions for AI-generated .NET code to automatically enforce architectural boundaries, dependency rules, layering constraints, design standards, and quality checks in CI pi...
Topics: Clean Architecture GitHub Copilot
Read articleDecorator vs Proxy Design Pattern : What’s the Difference?
c-sharpcorner.com
Understand the difference between Decorator and Proxy design patterns in C#, including their intent, object wrapping, access control, behavior extension, caching, authorization, logging, and practical...
Topics: Authorization Design Patterns
Read articlexUnit.v3 4.0.0 released
steven-giesel.com
xUnit.v3 got a new major release. This blog post is more about the consequences of that for your local build and CI/CD pipelines than about the new features.
Topics: xUnit.net
Read articleImproving Performance in .NET Applications
youtube.com
We all want to write fast code. But writing code that performs well doesn’t come for free. Developers must be cognizant of what their code will do when it is executed, and what tools to use when you w...
Topics: Performance Profiling
Read articleBenchmarking PostgreSQL 19 Beta Planner Changes with EF Core
c-sharpcorner.com
Benchmark PostgreSQL 19 Beta query planner changes with EF Core using realistic workloads, execution plans, query latency, throughput, and database performance metrics.
Topics: Benchmarking EF Core PostgreSQL
Read articleTestcontainers: Real Dependencies in Disposable Docker Containers
medium.com
A focused, mechanics-level guide to Testcontainers — the library that programmatically starts and stops real Docker containers as part of…
Topics: Docker Unit Testing
Read articleUse Aspire to implement and deploy the BFF security architecture
damienbod.com
This blog demonstrates how to use Aspire to set up a solution for developing and deploying an ASP.NET Core web application with Auth0 as the identity provider and a downstream API. The application use...
Topics: .NET Aspire Authentication Security
Read articleOne Language to Rule Them? LINQ, Abstraction, and What's Next
binaryintellect.net
In Part 1, we traced how .NET's data formats each grew their own query language, and how LINQ emerged as Microsoft's attempt to paper over the fragmentation. In Part 2, we walked through that fragment...
Topics: C#
Read article