Home Archive ASP.NET Core, async traps, and .NET 10 updates – .NET News Daily Issue #215 (Jun 10, 2025)

Editor's note

I kept this issue deliberately mixed: fundamentals, tooling, data access, and a few forward-looking .NET 10 pieces. The async articles and the middleware explainer stand out because they tackle bugs and concepts that still trip up experienced teams. I also like seeing practical pieces on configuration and DI alongside the C# 14 and source generators coverage.

ASP.NET Core, async traps, and .NET 10 updates

Tuesday is here, fellow code wizards, where we peel back the layers and scrutinize the world of .NET with the precision of a master chef perfecting a classic dish. While yesterday's echoes fade, today we delve deeper into the intricacies that transform base code into a work of art. As you sip your coffee and ready your tools, prepare to explore curated gems that promise not just to inform, but perhaps to inspire a gentle 'aha' moment or two. Here's to making every line count, like a well-composed jazz solo, in our quest for .NET mastery.

Today's Articles

Middleware in ASP.NET Core — Explained Like You’re Coding Daily but Still Unsure What It Does

https://medium.com/@sweetondonie/middleware-in-asp-net-core-explained-like-youre-coding-daily-but-still-unsure-what-it-does-9fbc7fe1acb4

If you’ve ever stared at an app.UseAuthentication(), app.UseRouting(), and app.UseAuthorization() in Program.cs and thought:

Article preview

99% of C# Devs Miss This Async Bug — It Crashes Real Apps Silently

https://medium.com/@mohsho10/99-of-c-devs-miss-this-async-bug-it-crashes-real-apps-silently-34a3a9489329

“The worst bugs are the ones you never see.” And async void is how you invite them in. Continue reading on Towards Dev »

Article preview

️ Using CSharpier Per-Solution in JetBrains Rider

https://rafee03.medium.com/%EF%B8%8F-using-csharpier-per-solution-in-jetbrains-rider-3b8677c490fd

If you’re working in .NET, you probably know how easy and powerful the CSharpier tool is for keeping your code clean and consistent. If…

Article preview

Building an Inventory-Management System with ASP.NET 9

https://medium.com/@michaelmaurice410/building-an-inventory-management-system-with-asp-net-9-c04cc38cc7ef

📦 Inventory Management System (.NET 9)

Article preview

️ Authentication vs Authorization in ASP.NET Core

https://medium.com/@sweetondonie/%EF%B8%8F-authentication-vs-authorization-in-asp-net-core-792c46760c25

Explained Like You Use C# Every Day but Still Google “JWT vs Role” Weekly

Article preview

From EF Core to Dapper — Is Raw SQL Worth the Hype?

https://medium.com/@michaelmaurice410/from-ef-core-to-dapper-is-raw-sql-worth-the-hype-7dc99f92b21f

What’s the story about? Everyone raves about Dapper’s raw speed and low overhead — but is ditching Entity Framework Core really the…

Article preview

Logging in ASP.NET Core Web API Using MongoDB

https://www.c-sharpcorner.com/article/logging-in-asp-net-core-web-api-using-mongodb/

Logging is one of the most important parts of building a real-world application. It helps you track errors, monitor behavior, and understand what your app is doing behind the scenes.

Article preview

Stop Misusing async/await: 9 Hidden C# Pitfalls That Slow You Down

https://medium.com/@mohsho10/stop-misusing-async-await-hidden-c-pitfalls-that-slow-you-down-568a41baa58d

Most C# developers loveasync/await— and rightly so. It's elegant, non-blocking, and makes code readable. But beneath the surface lies a… Continue reading on Towards Dev »

Article preview

Which .NET Mapping Library Should You Use?

https://medium.com/@ashokreddy343/which-net-mapping-library-should-you-use-eafa0d191993

Introduction Continue reading on Towards Dev »

Article preview

Don't reinvent the wheel - configuration

https://josef.codes/dont-reinvent-the-wheel-configuration-dotnet-core/

Avoid creating custom environment helpers - use the built-in functionality instead.

<img src="https://cdn.dotnetnews.co/imports/daccc95303fa45af10909a0e28090ef6e00cf52fe3e53ad0ddcde763b235a446.jpg" width="100%" style="display:block" class="hide-on-mobile" data-bit="iit" alt="Article preview"t reinvent the wheel - configuration" height="200" loading="lazy" decoding="async">

Run C# File Instantly with .NET 10

https://www.c-sharpcorner.com/article/run-c-sharp-file-instantly-with-net-10/

Microsoft has introduced a groundbreaking feature in .NET 10 Preview 4, the ability to run C# files directly using dotnet run app.cs.

Article preview

Professional Code and Best Practices with C# 14 and .NET 10

https://www.c-sharpcorner.com/article/professional-code-and-best-practices-with-c-sharp-14-and-net-10/

Professional Code and Best Practices with C# 14 and .NET 10

Article preview

Why Most .NET Developers Miss Out on Azure’s Best Features (And How Not to Be One of Them)

https://medium.com/turbo-net/why-most-net-developers-miss-out-on-azures-best-features-and-how-not-to-be-one-of-them-38df10a94292?source=rss------dotnet-5

You work with .NET. You’ve deployed to Azure. But are you using it the way it’s meant to be used? Continue reading on Turbo .NET »

Article preview

Guide to Add Custom Modules in ABP.IO App

https://www.c-sharpcorner.com/article/guide-to-add-custom-modules-in-abp-io-app2/

Learn how to add custom modules to your ABP.IO app with this simple, developer-friendly guide. Covers backend setup and Angular integration step by step.

Article preview

WebSocket vs REST in .NET: Key Differences and Use Cases

https://medium.com/@hasanmcse/websocket-vs-rest-in-net-key-differences-and-use-cases-c63d733afb98

When building modern .NET applications, choosing between WebSocket and REST APIs can be critical for performance, scalability, and…

Article preview

On .NET Live - On .NET Live - Source Generators in Jinget

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

Article preview

Flight Ticketing System with Decorator and Factory Patterns in C#

https://mcuslu.medium.com/flight-ticketing-system-with-decorator-and-factory-patterns-in-c-d962f759433d

In modern software architecture, flexibility and extensibility are essential. Today, we’ll walk through a real-world example where we…

Article preview

“Why Is My UI Slow?!” — 7 Killer Techniques to Supercharge .NET App Performance

https://dotnetfullstackdev.medium.com/why-is-my-ui-slow-7-killer-techniques-to-supercharge-net-app-performance-769667918ccb

Ever clicked a button on your app and thought, “Why is this taking forever?!” If your .NET application’s UI is slow when loading data…

Article preview

AppSettings & Configuration in ASP.NET Core — What’s Going On?

https://medium.com/@sweetondonie/appsettings-configuration-in-asp-net-core-whats-going-on-f6387e55c462

You’re writing C# every day in an ASP.NET Core project.

Article preview

Modern C# in 2025: What You Should Be Using (and What to Retire)

https://www.c-sharpcorner.com/article/modern-c-sharp-in-2025-what-you-should-be-using-and-what-to-retire/

Explore the latest C# 12 and .NET 8 features in 2025, including primary constructors and required properties, while learning modern practices to write cleaner, faster, and more maintainable C# code.

Article preview

Understanding Dependency Injection in .NET

https://medium.com/@venkataramanaguptha/understanding-dependency-injection-in-net-2f635cb0e9c0

In Part 1, we explored Dependency Injection (DI) lifetimes using examples from a Legal Practice Management system. In this continuation…

Article preview

The Cleanest Way to Generate HTML from C#

https://medium.com/@kohzadi90/the-cleanest-way-to-generate-html-from-c-f7cfeb20e650

Say goodbye to HTML spaghetti and hello to testable, designer-friendly templates using Stubble. Continue reading on Art of Data Engineering »

Article preview

The Working of .NET Garbage Collection: Heap, Stack, Generations Explained

https://medium.com/@kroshpan/the-working-of-net-garbage-collection-heap-stack-generations-explained-6017ed9f193b?source=rss------dotnet-5

Write efficient C# code with fewer memory leaks.

Article preview

Jasen's take on today's picks

Middleware in ASP.NET Core — Explained Like You’re Coding Daily but Still Unsure What It Does

A solid middleware refresher for anyone who knows the pipeline exists but still wants the mental model to click.

99% of C# Devs Miss This Async Bug — It Crashes Real Apps Silently

Good warning shot on async mistakes; these are the sort of bugs that look harmless in code review and hurt in production.

️ Using CSharpier Per-Solution in JetBrains Rider

Rider + CSharpier is the kind of practical tooling note I like: small setup, big consistency payoff.

Building an Inventory-Management System with ASP.NET 9

Inventory system example is a nice applied ASP.NET 9 walkthrough, not just another toy CRUD demo.

️ Authentication vs Authorization in ASP.NET Core

The auth vs authorization piece earns its place because teams still mix those up in real designs.

From EF Core to Dapper — Is Raw SQL Worth the Hype?

EF Core versus Dapper is always a useful tradeoff discussion when performance or SQL control matters.

Logging in ASP.NET Core Web API Using MongoDB

Logging to MongoDB is unusual enough to be interesting, especially for teams already on the stack.

Stop Misusing async/await: 9 Hidden C# Pitfalls That Slow You Down

Another async article, but from a different angle; the reminder is that async/await still has sharp edges.

Which .NET Mapping Library Should You Use?

Mapping library choices matter more than people admit once teams start standardizing DTO layers.

Don't reinvent the wheel - configuration

Configuration is one of those fundamentals worth re-reading before you build your own helpers.

Run C# File Instantly with .NET 10

Running a C# file instantly with .NET 10 is exactly the sort of quality-of-life feature developers notice fast.

Professional Code and Best Practices with C# 14 and .NET 10

C# 14 and .NET 10 best practices should be a handy checkpoint for what’s current and what’s already stale.

Why Most .NET Developers Miss Out on Azure’s Best Features (And How Not to Be One of Them)

The Azure piece looks aimed at people who use the cloud services only at the surface level.

Guide to Add Custom Modules in ABP.IO App

ABP.IO module extension guidance is useful for teams building on a real application framework.

WebSocket vs REST in .NET: Key Differences and Use Cases

WebSocket versus REST is a practical decision article, not an abstract protocol debate.

On .NET Live - On .NET Live - Source Generators in Jinget

Source generators on .NET Live should be worth watching if you care about compile-time tooling.

Flight Ticketing System with Decorator and Factory Patterns in C#

Decorator and Factory patterns together make a good case study when the example stays concrete.

“Why Is My UI Slow?!” — 7 Killer Techniques to Supercharge .NET App Performance

UI performance tuning is always welcome; slow apps get blamed on everything except the real bottlenecks.

AppSettings & Configuration in ASP.NET Core — What’s Going On?

AppSettings and configuration deserve the deeper treatment because many bugs start there.

Modern C# in 2025: What You Should Be Using (and What to Retire)

Modern C# guidance is helpful when it separates genuinely useful features from the shiny stuff to skip.

Understanding Dependency Injection in .NET

Dependency injection is foundational, and it’s good to see another clear explanation in the mix.

The Cleanest Way to Generate HTML from C#

HTML generation from C# sounds niche, but it’s the kind of utility problem that shows up everywhere.

The Working of .NET Garbage Collection: Heap, Stack, Generations Explained

GC internals are still worth learning; heap and generation knowledge pays off when diagnosing memory behavior.

Related issues

📬 Get daily .NET content delivered to your inbox