Home Archive ASP.NET Core resilience and performance – .NET News Daily Issue #202 (May 22, 2025)

Editor's note

I pulled a pretty mixed lineup this time: resilience, performance, data access, API design, and a bit of language craft. The Polly piece and the ZLinq article stood out to me because they both tackle real-world pain points from opposite ends of the stack. I also liked the EF Core soft-delete write-up and the .NET 10 Preview 4 update for the practical value they bring.

ASP.NET Core resilience and performance

As Thursday rolls in, it's time to turbocharge those coding engines and hit the .NET racetrack with precision and flair. This isn't your first rodeo, and it won't be your last—so buckle up for a suite of finely-tuned articles ready to boost your productivity and sharpen your expertise. Whether you're optimizing your latest project or simply refining the art of elegant code, today's lineup is crafted to add horsepower to your .NET skills. Shift gears, tap into new insights, and let's make your Thursday a masterclass in unstoppable momentum.

Today's Articles

From Fragile to Bullet-Proof!— Adding Fault-Handling in ASP.NET Core With Polly

https://medium.com/@michaelmaurice410/from-fragile-to-bullet-proof-adding-fault-handling-in-asp-net-core-with-polly-084f6be74057

What’s the story about? It’s the dark moment when your API depends on a flaky downstream service. A single network hiccup turns a green…

Article preview

“ZLinq”, a Zero-Allocation LINQ Library for .NET

https://neuecc.medium.com/zlinq-a-zero-allocation-linq-library-for-net-1bb0a3e5c749

I’ve released ZLinq v1 last month! By building on structs and generics, it achieves zero allocations. It includes extensions like LINQ to…

Article preview

.NET 10 Preview 4 is now available!

https://devblogs.microsoft.com/dotnet/dotnet-10-preview-4/

Find out about the new features in .NET 10 Preview 4 across the .NET runtime, SDK, libraries, ASP.NET Core, Blazor, C#, .NET MAUI, and more! The post .NET 10 Preview 4 is now available! appeared firs...

Article preview

Celebrating 50 Million Developers: The Journey of Visual Studio and Visual Studio Code

https://devblogs.microsoft.com/blog/celebrating-50-million-developers-the-journey-of-visual-studio-and-visual-studio-code

Today, I’m thrilled to share that we’ve hit an incredible milestone together: 50 million developers are actively using Visual Studio and Visual Studio Code each month. That’s 50 million of you writing...

Article preview

Stop Misusing Exceptions: Embrace the Result & Either Patterns in .NET ✅

https://medium.com/@metoz.florian/stop-misusing-exceptions-embrace-the-result-either-patterns-in-net-64f7aaaba2a4?source=rss------dotnet-5

Error handling in .NET APIs too often becomes a tangle of try/catch blocks, domain-specific exceptions, and inconsistent response payloads.

Article preview

Soft deletes in EF Core: How to implement and query efficiently

https://blog.elmah.io/soft-deletes-in-ef-core-how-to-implement-and-query-efficiently/

What does your application actually do with a record when a user deletes it? Can your application afford to delete a record permanently? One mistake can result in irreparable damage to the application...

Article preview

10 Times Modern C# Saved Me (After I Nearly Broke a Legal Practice App)

https://medium.com/@venkataramanaguptha/10-times-modern-c-saved-me-after-i-nearly-broke-a-legal-practice-app-c4348295cea7?source=rss------dotnet-5

🧠Staying in Canada; working on legal practice management system — that tracks billing, time entries, client records — the kind of data…

Article preview

You do HTTP PATCH wrong | Introduce JsonPatchDocument

https://medium.com/@denmaklucky/you-do-http-patch-wrong-introduce-jsonpatchdocument-t-1ea60cebc4c1

To patch a complex object, you don’t need to update each property individually. Now, you can simply do this.

Article preview

Dev Snack #6 — Builder Pattern: costruire oggetti senza impazzire

https://medium.com/@squid_/dev-snack-6-builder-pattern-costruire-oggetti-senza-impazzire-482074a62347?source=rss------csharp-5

Elegante in Java, potente in C#. E no, non è overkill (quasi mai).

Article preview

Generating TypeScript client from .NET WebApi with OpenAPI and Orval

https://medium.com/@alechka/generating-typescript-client-from-net-webapi-with-openapi-and-orval-855db0486d93?source=rss------dotnet-5

A step-by-step guide on how to automatically create strongly typed TypeScript client for your .NET 9 API service.

Article preview

10 Real Bugs I Fixed with C# Pattern Matching (And How You Can Too)

https://medium.com/@venkataramanaguptha/10-real-bugs-i-fixed-with-c-pattern-matching-and-how-you-can-too-6e1c116120c3

💡 C# pattern matching didn’t just clean up my code — it saved hours of debugging. In this post, I’m sharing 10 real bugs from my…

Article preview

Trading Bot in C# — Part 6— Reconnecting Strategies

https://medium.com/@whales_secret/trading-bot-in-c-part-6-reconnecting-strategies-37915ff6cebf

The previous blog post covered order canceling and how to retrieve active orders. This time, we will discuss how to react to exchange…

Article preview

The Debugging Trick Nobody Taught You in .NET

https://medium.com/dot-net-sql-learning/the-debugging-trick-nobody-taught-you-in-net-42bbdcb1eaec

Have you ever been in a situation where you’re crazy about finding bugs while working with .NET? Everything seems to be working fine, but… Continue reading on Dot Net, API & SQL Learning »

Article preview

My Code Looked Perfect — Until It Failed in Production!

https://medium.com/dot-net-sql-learning/my-code-looked-perfect-until-it-failed-in-production-1e8888a8b293

“The code was perfect…!” “It was running fine locally…!” “I even tested it…!” And yet — the code failed in production! Continue reading on Dot Net, API & SQL Learning »

Article preview

Understanding Reference Type vs Object Type in C# — A Deep Dive

https://medium.com/careerbytecode/understanding-reference-type-vs-object-type-in-c-a-deep-dive-102dc1128c2c?source=rss------dotnet-5

In the world of object-oriented programming with C#, a seemingly simple line of code like Continue reading on CareerByteCode »

Article preview

Dependency Injection in ASP.NET Core — Beyond the Basics

https://medium.com/@dev.saeid.ghaderi/dependency-injection-in-asp-net-core-beyond-the-basics-de1c7e947ce2

Developers are familiar with the basics (like registering services in Startup.cs), many struggle to use it effectively in real-world…

Article preview

C# Developers Are Making a Killing in 2025 (And Nobody’s Talking About It)

https://medium.com/@tanishaav20/c-developers-are-making-a-killing-in-2025-and-nobodys-talking-about-it-2ac14b967fc9?source=rss------dotnet-5

While Python continues its meteoric rise and JavaScript maintains its ubiquity across the web, another programming language has quietly…

Article preview

Jasen's take on today's picks

From Fragile to Bullet-Proof!— Adding Fault-Handling in ASP.NET Core With Polly

A solid Polly walkthrough for making ASP.NET Core APIs far less fragile.

“ZLinq”, a Zero-Allocation LINQ Library for .NET

ZLinq is interesting if allocation pressure is hurting your hot paths.

.NET 10 Preview 4 is now available!

Preview 4 keeps .NET 10 on a steady march forward.

Celebrating 50 Million Developers: The Journey of Visual Studio and Visual Studio Code

A nice milestone piece on Visual Studio and VS Code’s reach.

Stop Misusing Exceptions: Embrace the Result & Either Patterns in .NET ✅

A good reminder that exceptions are for exceptional cases, not control flow.

Soft deletes in EF Core: How to implement and query efficiently

Practical EF Core guidance on soft deletes without tanking queries.

10 Times Modern C# Saved Me (After I Nearly Broke a Legal Practice App)

Modern C# patterns that actually prevented real bugs.

You do HTTP PATCH wrong | Introduce JsonPatchDocument

If you use PATCH, this is worth a careful read.

Dev Snack #6 — Builder Pattern: costruire oggetti senza impazzire

Builder Pattern, explained without the usual ceremony.

Generating TypeScript client from .NET WebApi with OpenAPI and Orval

Generating a TypeScript client from OpenAPI is a real productivity win.

10 Real Bugs I Fixed with C# Pattern Matching (And How You Can Too)

Pattern matching saves more bugs than most teams admit.

Trading Bot in C# — Part 6— Reconnecting Strategies

Reconnecting strategies matter a lot in long-running trading bots.

The Debugging Trick Nobody Taught You in .NET

A debugging tip article aimed at the stuff most teams only learn the hard way.

My Code Looked Perfect — Until It Failed in Production!

A production-failure story that should feel uncomfortably familiar.

Understanding Reference Type vs Object Type in C# — A Deep Dive

A deeper look at reference types vs object types in C#.

Dependency Injection in ASP.NET Core — Beyond the Basics

Beyond-the-basics DI advice for ASP.NET Core apps.

C# Developers Are Making a Killing in 2025 (And Nobody’s Talking About It)

A career-flavored piece, but still connected to the C# market.

Related issues

📬 Get daily .NET content delivered to your inbox