ASP.NET Core security, Blazor state, EF Core tuning
This issue covers API security, Blazor state persistence, EF Core tuning, middleware ordering, async streams, and microservice reliability tips.
Jasen's top three picks
- 1 Building a Secure API with ASP.NET Core, JWT, and Refresh Tokens
Medium
A solid JWT/refresh-token walkthrough for teams tightening API auth.
- 2 Prerendering in Blazor — How to persist state using PersistingComponentState
Medium
Blazor prerendering state persistence is the kind of detail that saves real UX headaches.
- 3 The True North of Clean .NET Architecture: Why Boundaries Matter More Than Ever
Medium
Good reminder that EF Core performance work often starts with measuring queries, not guessing.
Editor's note
I pulled a pretty practical mix this time: security, performance, architecture, and a few foundational refreshers. The JWT and refresh-token piece is a good companion to the middleware-ordering article, and the EF Core performance write-up is one I’d expect teams to compare against their own query habits.
Today's articles
Building a Secure API with ASP.NET Core, JWT, and Refresh Tokens
Medium
https://medium.com/@MatinGhanbari/building-a-secure-api-with-asp-net-core-jwt-and-refresh-tokens-03dac37b4055
Topics: ASP.NET Core Authentication Authorization
Read articlePrerendering in Blazor — How to persist state using PersistingComponentState
Medium
https://alexb72.medium.com/prerendering-in-blazor-how-to-persist-state-using-persistingcomponentstate-6a1ead059aa0
Topics: ASP.NET Core Blazor
Read articleThe True North of Clean .NET Architecture: Why Boundaries Matter More Than Ever
Medium
https://medium.com/@herbertmoroni/the-true-north-of-clean-net-architecture-why-boundaries-matter-more-than-ever-70151403f5b9
Topics: Clean Architecture Domain-Driven Design .NET Core
Read articleElasticSearch at Scale: Tuning .NET Queries for Log and Search APIs
Medium
https://medium.com/@bhagyarana80/elasticsearch-at-scale-tuning-net-queries-for-log-and-search-apis-b4551b6c777a
Topics: .NET Core Performance Web API
Read articleOptimizing EF Core Query Performance in .NET 9
Medium
https://medium.com/@michaelmaurice410/optimizing-ef-core-query-performance-in-net-9-6e690150e5e7
Topics: .NET 9 EF Core Performance
Read articleBuilding Interactive Web Apps with Blazor
C# Corner
https://www.c-sharpcorner.com/article/building-interactive-web-apps-with-blazor/
Topics: ASP.NET Core Blazor
Read articleYou’re Ordering ASP.NET Middleware Wrong — Here’s Microsoft’s Proven Fix (with Examples)
Medium
https://medium.com/@mohsho10/youre-ordering-asp-net-middleware-wrong-here-s-microsoft-s-proven-fix-with-examples-695474332a35
Topics: ASP.NET Core Minimal APIs Web API
Read articleYou’re Using HttpClient Wrong — And It’s Costing You in Production
Medium
https://medium.com/@yaseer.arafat/youre-using-httpclient-wrong-and-it-s-costing-you-in-production-16a0325cb2d2?source=rss------dotnet-5
Topics: .NET Core Performance Web API
Read articleDeep Dive: Understanding IAsyncEnumerable In Real-World .NET Applications
Medium
https://medium.com/@freakyali/deep-dive-understanding-iasyncenumerable-in-real-world-net-applications-a09addfafefc
Topics: C# .NET Core Performance
Read articleEntity Framework Core in ASP.NET Core
C# Corner
https://www.c-sharpcorner.com/article/entity-framework-core-in-asp-net-core/
Topics: ASP.NET Core EF Core Web API
Read articleC# Enums Explained Simply — How Do They Work?
Medium
https://medium.com/@sweetondonie/c-enums-explained-simply-how-do-they-work-52ab07691ec1
Read articleBuild your own C# code analyzer
Medium
https://medium.com/@daniel-miller/build-your-own-csharp-code-analyzer-0c3cd23f5dbf?source=rss------csharp-5
Topics: C# Roslyn Source Generators
Read articleGit Branching Strategy & Release Workflow
C# Corner
https://www.c-sharpcorner.com/article/git-branching-strategy-release-workflow2/
Topics: Azure DevOps .NET Core GitHub
Read articleCrafting Your Own Dependency Injection Container in C#-A Developer’s Journey
Medium
https://medium.com/@bhargavkoya56/crafting-your-own-dependency-injection-container-in-c-a-developers-journey-bd255633dd5f
Topics: C# Design Patterns
Read articleThe Evolution of .NET: From Framework to .NET 8
Medium
https://medium.com/@sanarana44/the-evolution-of-net-from-framework-to-net-8-b70448f27e80
Topics: .NET 8 .NET Core .NET Framework
Read articleAPI Gateway + .NET Microservices: The Scaling Strategy That Actually Works
Medium
https://medium.com/@hadiyolworld007/api-gateway-net-microservices-the-scaling-strategy-that-actually-works-7f5d10d51fda
Topics: ASP.NET Core Clean Architecture Web API
Read articleUsing Result<T> or OneOf<T> for Better Error Handling in .NET
elmah.io Blog - .NET Technical tutorials/guides and new features
https://blog.elmah.io/using-result-t-or-oneof-t-for-better-error-handling-in-net/
Topics: C# Design Patterns .NET Core
Read articleDomain Validation With .NET | Clean Architecture, DDD, .NET 9
Medium
https://medium.com/@michaelmaurice410/domain-validation-with-net-clean-architecture-ddd-net-9-758e643564fa?source=rss------csharp-5
Topics: Clean Architecture Domain-Driven Design .NET 9
Read articleC# QR Code Generator: How to Create and Customize QR Codes (Full Guide)
Medium
https://medium.com/@alice.yang_10652/c-qr-code-generator-how-to-create-and-customize-qr-codes-full-guide-42bf9473e187
Read articleBuild Fault-Tolerant Microservices using Deadletter-Queues in ActiveMQ & .NET
Medium
https://mirzaleka.medium.com/build-fault-tolerant-microservices-using-deadletter-queues-in-activemq-net-cf4ecf24307b
Topics: Clean Architecture .NET Core RabbitMQ
Read articleThe Basic Principles of Good UI Design
C# Corner
https://www.c-sharpcorner.com/article/the-basic-principles-of-good-ui-design/
Topics: C# Design Patterns
Read article