Async, middleware, and EF Core fixes
A varied set of .NET reads on async pitfalls, middleware, EF Core query tuning, REST API design, GitHub Actions, and core C# concepts.
Jasen's top three picks
- 1 Adding Multiple Authentication Types to Swagger in .NET Web API
medium.com
Swagger auth setup is a useful one for teams exposing multiple schemes.
- 2 Structural Patterns in .NET C#: Composing objects for modern applications
levelup.gitconnected.com
A nice reminder that async/await still trips up experienced developers.
- 3 Top 5 Mistakes .NET Developers Make When Using async and await
c-sharpcorner.com
The EF Core 10x query win is the kind of small change people should benchmark.
Editor's note
I pulled together a very mixed issue this time: practical API work, performance, and a few fundamentals. The EF Core query optimization piece and the middleware guides stand out because they solve problems most teams hit quickly. There’s also solid coverage of async mistakes and API documentation, which should help sharpen everyday work.
Today's articles
Adding Multiple Authentication Types to Swagger in .NET Web API
medium.com
https://medium.com/@rajput.shubh2510/adding-multiple-authentication-types-to-swagger-in-net-web-api-7114f9be8153?source=rss------dotnet-5
Topics: ASP.NET Core Authentication REST API
Read articleStructural Patterns in .NET C#: Composing objects for modern applications
levelup.gitconnected.com
https://levelup.gitconnected.com/structural-patterns-in-net-c-composing-objects-for-modern-applications-355bda5e2887
Topics: C# Design Patterns
Read articleTop 5 Mistakes .NET Developers Make When Using async and await
c-sharpcorner.com
https://www.c-sharpcorner.com/blogs/top-5-mistakes-net-developers-make-when-using-async-and-await
Topics: C# Performance
Read articleWhat is iisreset?
medium.com
https://medium.com/@nirbhaysingh281/what-is-iisreset-378c0effb75d
Topics: .NET Framework
Read articleAsync Programming in .NET using C# -A Complete Developer’s Guide-Part II
medium.com
https://medium.com/@bhargavkoya56/async-programming-in-net-using-c-a-complete-developers-guide-part-ii-e72a17ea8527
Read articleI Removed Just One Include() in EF Core and Boosted Queries by 10x
medium.com
https://medium.com/@joshiabhi777/i-removed-just-one-include-in-ef-core-and-boosted-queries-by-10x-618a3f5abd50
Topics: .NET Core EF Core Performance
Read articleHow to Collaboratively Work with SQL Server 2025, Visual Studio Code, and GitHub Copilot (Step-by-Step Guide)
c-sharpcorner.com
https://www.c-sharpcorner.com/article/how-to-collaboratively-work-with-sql-server-2025-visual-studio-code-and-github/
Topics: GitHub Copilot SQL Server Visual Studio Code
Read articleDotnet: All you need to know about middlewares
ravindradevrani.medium.com
https://ravindradevrani.medium.com/dotnet-all-you-need-to-know-about-middlewares-50b4c7200bb0
Topics: ASP.NET Core .NET Core Web API
Read articleLearn LINQ in C# — A Complete Guide with Examples and Challenges
medium.com
https://medium.com/@fahimshahariar.fs/learn-linq-in-c-a-complete-guide-with-examples-and-challenges-d514e8f21902
Read articleMiddleware in .NET Core: The Power Behind the Pipeline
csjob.medium.com
https://csjob.medium.com/middleware-in-net-core-the-power-behind-the-pipeline-232a02207942
Topics: ASP.NET Core .NET Core
Read articleLet’s Ditch the Async Suffix in C#
medium.com
https://medium.com/@vosarat1995/lets-ditch-the-async-suffix-in-c-a5f028183e6a
Topics: C# Performance
Read articleThe Top Challenges of Using Generative AI
c-sharpcorner.com
https://www.c-sharpcorner.com/article/the-top-challenges-of-using-generative-ai/
Topics: ML.NET OpenAI Semantic Kernel
Read articleFloat, Double, Decimal in C#: Which One Should You Use?
medium.com
https://medium.com/@nagarajvela/float-double-decimal-in-c-which-one-should-you-use-3131ec7e2011
Topics: C# Performance
Read article10 C# Secrets That Will Change How You See Programming Forever
medium.com
https://medium.com/@krativarshney7/10-c-secrets-that-will-change-how-you-see-programming-forever-23bc9f2b8696
Topics: C# Design Patterns
Read articleAutomatically Rerun Failed GitHub Actions Workflows
meziantou.net
https://www.meziantou.net/automatically-rerun-failed-github-actions-workflows.htm
Topics: GitHub GitHub Actions
Read articleMaster API Documentation in .NET 7+: The Complete Guide to Endpoint Attributes
medium.com
https://medium.com/@serhatalftkn/master-api-documentation-in-net-7-the-complete-guide-to-endpoint-attributes-082b55073452
Topics: ASP.NET Core REST API Web API
Read article5 Mistakes That Make Your Code Unmaintainable
codeopinion.com
https://codeopinion.com/5-mistakes-that-make-your-code-unmaintainable/
Topics: Clean Architecture C# Solid Principles
Read articleStop Using Location Headers Everywhere: A Guide to RESTful API Design
medium.com
https://medium.com/@serhatalftkn/stop-using-location-headers-everywhere-a-guide-to-restful-api-design-8e3b3d304808
Topics: ASP.NET Core REST API Web API
Read articleBoost Performance Now: C# ObjectPool vs. ArrayPool Showdown
medium.com
https://medium.com/@nagarajvela/boost-performance-now-c-objectpool-t-vs-arraypool-t-showdown-3b1f83d4e303
Topics: Benchmarking C# Performance
Read article16 common mistakes C#/.NET developers make (and how to avoid them)
blog.elmah.io
https://blog.elmah.io/16-common-mistakes-c-net-developers-make-and-how-to-avoid-them/
Topics: C# Performance Unit Testing
Read article