Home Archive API versioning, EF Core, and AI agents – .NET News Daily Issue #439 (Apr 22, 2026)

Editor's note

I pulled together another deliberately mixed issue today, from API versioning with OpenAPI to EF Core query behavior and a couple of practical AI agent pieces. The standup on versioning is worth your time if your APIs have grown beyond a single contract, and the EF Core translation article does a good job explaining why some LINQ never reaches SQL. There’s also solid nuts-and-bolts material here on xUnit, HttpClientFactory, and Azure Functions in containers.

API versioning, EF Core, and AI agents

Sponsored by

Forget the hype. Here's what's actually working in AI.

90% of AI content is noise. The AI Report is the 10%.

We cover real enterprise deployments, actual business outcomes, and the AI strategies leaders are betting on right now — not lab experiments, not demos, not speculation.

400,000+ executives, operators, and founders read us every weekday to cut through the clutter and make faster, smarter decisions about AI before their competitors do.

No hype. No fluff. Just the signal.

See what's actually working in AI across every industry right now — free, in 5 minutes a day.

Enjoying the newsletter? Your feedback helps us grow and reach more developers.

Share your testimonial →

Today's Articles

ASP.NET Community Standup: Combining API Versioning with OpenAPI

https://www.youtube.com/watch?v=7m3r6slW68U

Article preview

Difference Between Span and Memory in C# with Examples?

https://www.c-sharpcorner.com/article/difference-between-span-and-memory-in-c-sharp-with-examples/

Unlock C# performance! Master Span and Memory for efficient memory management. Learn when to use each for faster, scalable .NET applications. Includes examples!

Article preview

How to Implement Unit Testing in .NET using xUnit with Example

https://www.c-sharpcorner.com/article/how-to-implement-unit-testing-in-net-using-xunit-with-example/

Master .NET unit testing with xUnit! Learn to write effective tests, catch bugs early, and improve code quality. Includes practical examples and best practices.

Article preview

PostgreSQL Like a Pro: Build mission-critical apps at any scale with Azure HorizonDB

https://www.youtube.com/watch?v=-iG5a0O5_wk

Article preview

Choosing the Right Azure Hosting Model for AI Agents: A Deep Dive into Foundry Hosted Agents

https://devblogs.microsoft.com/all-things-azure/hostedagent/

AI agents are quickly moving from experiments to production‑critical components of modern applications. But while many teams know how to build agents, far fewer are confident they’re hosting them on t...

Article preview

EF Core - Lazy Loading, Eager Loading, and Explicit Loading

https://medium.com/@remigiuszzalewski/ef-core-lazy-loading-eager-loading-and-explicit-loading-7594c6aae4fa?source=rss------dotnet-5

Connect with me 👇

Article preview

Dependency Injection in .NET: Building Maintainable, Testable, and Scalable Applications.

https://achuchiwilliam.medium.com/dependency-injection-in-net-building-maintainable-testable-and-scalable-applications-c8c84404f68d?source=rss------dotnet-5

Modern .NET development emphasizes clean architecture, maintainability, and flexibility. One of the most important concepts that enables…

Article preview

Running Azure Functions in Docker: Why and How

https://medium.com/@martinoehlert/running-azure-functions-in-docker-why-and-how-7da3fe8fb02f?source=rss------dotnet-5

Azure Functions Beyond the Basics Continues from Azure Functions for .NET Developers (Parts 1–9)

Article preview

ASP.NET Core 2.3 End of Support: What It Really Means for Developers

https://blog.gopenai.com/asp-net-core-2-3-end-of-support-what-it-really-means-for-developers-e1e73b053926?source=rss------dotnet-5

A few days ago, I came across an announcement that made me pause for a moment. Continue reading on GoPenAI »

Article preview

Stop Calling .ToList()

https://serkanozbeykurucu.medium.com/stop-calling-tolist-bc2dc27c2934?source=rss------dotnet-5

There’s a line of code I keep finding in .NET repositories that looks harmless and costs teams real money.

Article preview

How to Use HttpClientFactory in .NET Core to Avoid Socket Exhaustion

https://www.c-sharpcorner.com/article/how-to-use-httpclientfactory-in-net-core-to-avoid-socket-exhaustion/

Learn how to use IHttpClientFactory in .NET Core to prevent socket exhaustion and improve performance. Discover named & typed clients, resilience with Polly, and best practices.

Article preview

Optimizing AI Agents with Progressive Disclosure

https://ardalis.com/optimizing-ai-agents-with-progressive-disclosure/

AI coding agents are only as good as the information you put in front of them. Every byte of context you load into an agent’s context window is space that could have been used for the code, conversati...

Article preview

Running AI agents with customized templates using docker sandbox

https://andrewlock.net/running-ai-agents-with-customized-templates-in-docker-sandbox/

In this post I describe how to create custom templates for Docker Sandboxes, so that your sandboxes start with additional tools immediately available

Article preview

EF Core query translation: Why does some LINQ never become SQL?

https://blog.elmah.io/ef-core-query-translation-why-does-some-linq-never-become-sql/

We know that every Entity Framework Core (EF Core) LINQ query has a corresponding SQL query. That equivalent SQL is actually executed under the hood. Some LINQ expressions involve. NET-specific code, ...

Article preview

Jasen's take on today's picks

ASP.NET Community Standup: Combining API Versioning with OpenAPI

The standup should help API teams line up versioned endpoints with clearer OpenAPI docs, and the Span versus Memory angle is a useful low-level refresher.

How to Implement Unit Testing in .NET using xUnit with Example

A practical xUnit primer that fits newer .NET developers and teams trying to build better testing habits before bugs escape into production.

PostgreSQL Like a Pro: Build mission-critical apps at any scale with Azure HorizonDB

This one leans cloud and data platform, with useful context for scaling PostgreSQL on Azure and thinking through hosting choices for AI agents.

EF Core - Lazy Loading, Eager Loading, and Explicit Loading

A straightforward EF Core walkthrough covering when lazy, eager, and explicit loading each make sense and where they can surprise you.

Dependency Injection in .NET: Building Maintainable, Testable, and Scalable Applications.

Dependency injection content never goes out of style, especially when it stays grounded in maintainability, testability, and scalable application structure.

Running Azure Functions in Docker: Why and How

Running Azure Functions in Docker is still a valuable pattern when you need environment parity, custom dependencies, or tighter deployment control.

ASP.NET Core 2.3 End of Support: What It Really Means for Developers

Support lifecycle posts matter because they force real upgrade decisions, and this one frames the practical impact of staying on older ASP.NET Core.

Stop Calling .ToList()

This is the kind of performance advice many teams need, since casual ToList calls often hide unnecessary allocations, queries, and memory pressure.

How to Use HttpClientFactory in .NET Core to Avoid Socket Exhaustion

HttpClientFactory remains essential infrastructure knowledge, especially for avoiding socket exhaustion and standardizing resilient outbound HTTP usage.

Optimizing AI Agents with Progressive Disclosure

Progressive disclosure is a useful framing for agent design, especially if you are trying to improve output quality without wasting context window space.

Running AI agents with customized templates using docker sandbox

Andrew Lock tends to make experimental tooling concrete, and custom Docker sandbox templates look handy for repeatable AI agent environments.

EF Core query translation: Why does some LINQ never become SQL?

A strong EF Core troubleshooting topic that explains the boundary between LINQ expressiveness and what providers can realistically translate into SQL.

Related issues

📬 Get daily .NET content delivered to your inbox