API security, async pitfalls, and EF Core tricks
A varied .NET roundup covering API key auth, async/await mistakes, ASP.NET Core performance choices, EF Core migrations, MAUI, Docker, and Azure.
Jasen's top three picks
- 1 # Implementing API Key Authentication with LSCoreAuthKey in .NET
medium.com
API key auth with LSCoreAuthKey is a useful practical pattern for teams that need lightweight protection without overengineering.
- 2 How I Built a Random Password Generator in C#
medium.com
A password generator sounds simple, but these posts often reveal how easy it is to get randomness and security wrong.
- 3 5 Most Common Async/Await Mistakes in C#
medium.com
The async/await mistakes roundup is the sort of refresher that saves real production debugging time.
Editor's note
I curated a broad mix this time, from practical API security to day-to-day performance and data work. The EF Core migration piece is a standout for anyone dealing with messy production fixes, and the MediatR replacement article is the kind of architectural rethink I like seeing in the wild.
Today's articles
# Implementing API Key Authentication with LSCoreAuthKey in .NET
medium.com
https://medium.com/limitlesssoft/implementing-api-key-authentication-with-lscoreauthkey-in-net-8359137c6bc0
Topics: ASP.NET Core Authentication Security
Read articleHow I Built a Random Password Generator in C#
medium.com
https://medium.com/@fulton_shaun/how-i-built-a-random-password-generator-in-c-c94f99685a85
Read article5 Most Common Async/Await Mistakes in C#
medium.com
https://medium.com/dot-net-sql-learning/5-most-common-async-await-mistakes-in-c-9e0bc57c4302
Topics: C# Performance
Read articleC# .Net Pipes
medium.com
https://medium.com/@alex-lazarenko/c-net-pipes-7d73855784bb
Topics: C# Performance
Read articleUnlocking Hidden Performance in Microsoft .NET: Iterating Over IEnumerable with the Enumerator
dotnettips.wordpress.com
https://dotnettips.wordpress.com/2025/04/23/unlocking-hidden-performance-in-microsoft-net-iterating-over-ienumerable-with-the-enumerator/
Topics: C# Performance
Read articleSearch and Removal of Item from Local List in MAUI [GamesCatalog] 16
c-sharpcorner.com
https://www.c-sharpcorner.com/article/search-and-removal-of-an-item-from-the-local-list-in-maui-gamescatalog-16/
Topics: .NET MAUI
Read articleASP.NET Core MVC Controller vs. minimal API vs. FastEndpoints — What’s the Best for Performance ?
medium.com
https://medium.com/@denmaklucky/asp-net-core-mvc-controller-vs-minimal-api-vs-fastendpoints-whats-the-best-for-performance-cfee8a1809d7
Topics: ASP.NET Core Minimal APIs Performance
Read articleThe Complete Beginner’s Guide to C# Programming
medium.com
https://medium.com/@orbens/the-complete-beginners-guide-to-c-programming-1b46106458e6
Topics: C#
Read articleReadable LINQ Over Nested One-Liners
medium.com
https://medium.com/@KeivanDamirchi/readable-linq-over-nested-one-liners-961c2b8d3cdb
Topics: C# Performance
Read articleInput Integrity in C# for Privacy-Safe LLM Systems
c-sharpcorner.com
https://www.c-sharpcorner.com/article/input-integrity-in-c-sharp-for-privacy-safe-llm-systems/
Read articleWe Broke Up with MediatR — and Found in .NET’s Hidden Gem
medium.com
https://medium.com/@metoz.florian/we-broke-up-with-mediatr-and-found-in-nets-hidden-gem-a62e3bc64ffb
Topics: C# Design Patterns MediatR
Read articleArmchair Architects: API and Endpoint Security
youtube.com
https://www.youtube.com/watch?v=0SNsdCgYXo0
Topics: ASP.NET Core Security
Read articleSimplifying CI/CD for .NET Docker Apps
c-sharpcorner.com
https://www.c-sharpcorner.com/article/simplifying-cicd-for-net-docker-apps/
Topics: Azure DevOps Docker GitHub Actions
Read articleASP.NET Community Standup - Building MCP Servers with ASP.NET Core
youtube.com
https://www.youtube.com/watch?v=x_6iUhdHnhc
Topics: ASP.NET Core Minimal APIs OpenAI
Read articleAdvanced Database Programming with C# 14 and Microsoft SQL Server
c-sharpcorner.com
https://www.c-sharpcorner.com/article/advanced-database-programming-with-c-sharp-14-and-microsoft-sql-server/
Topics: C# EF Core SQL Server
Read articleClass vs Record in .NET: What’s the Real Difference, and Why Should You Care?
medium.com
https://medium.com/@arpan.rao/class-vs-record-in-net-whats-the-real-difference-and-why-should-you-care-ac64209121cc
Topics: C# Design Patterns
Read articleAbstract Factory Pattern for Notification Services in C# 14
c-sharpcorner.com
https://www.c-sharpcorner.com/article/abstract-factory-pattern-for-notification-services-in-c-sharp-14/
Topics: Dapper EF Core SQL Server
Read articleInteractive EF Core Migrations: Use Dependency Injection and Dapper for Complex Data Fixes
gor-grigoryan.medium.com
https://gor-grigoryan.medium.com/interactive-ef-core-migrations-use-dependency-injection-and-dapper-for-complex-data-fixes-39c15fc8116f
Topics: ASP.NET Core Minimal APIs
Read articleDon’t return Results or TypedResults in ASP.NET Core. Instead, do this
medium.com
https://medium.com/@denmaklucky/dont-return-results-or-typedresults-in-asp-net-core-instead-do-this-b9f6f5598940
Topics: C#
Read articleHow to Convert a List of Objects to a DataTable in C#
c-sharpcorner.com
https://www.c-sharpcorner.com/article/how-to-convert-a-list-of-objects-to-a-datatable-in-c-sharp/
Topics: Azure
Read articleIntroduction to Azure Web App Service
c-sharpcorner.com
https://www.c-sharpcorner.com/article/introduction-to-azure-web-app-service/
Read article