C# Patterns Blazor Validation and JSON AOT
This edition covers worker failure isolation, Swagger JWT setup, async lifetime behavior, IBM i integration, and durable AI agent runs.
Jasen's top three picks
- 1 C# Reflection Has a Day Job
Medium
A compact way to make reflection’s discovery and invocation mechanics visible rather than mysterious.
- 2 Handling Background Job Failures Without Stopping .NET BackgroundService
C# Corner
Worker loops need failure boundaries; one bad job should not necessarily take down the host.
- 3 Displaying Server-Side Validation Errors in Blazor Forms
C# Corner
Useful Blazor plumbing for mapping API validation responses back to individual form fields.
Editor's note
I pulled together a deliberately varied set of practical .NET reading, from BackgroundService failure isolation to IBM i integration. The JSON source-generation comparison is especially useful for teams weighing trimming and Native AOT, while the article on awaits that never complete tackles a deceptively important runtime question. I’d also verify the .NET 11 and C# 15 release claims against official documentation as you read those pieces.
Today's articles
C# Reflection Has a Day Job
Medium
Build a small invoice checker that discovers its own rules, and see exactly where the magic stops.
Topics: C#
Read articleHandling Background Job Failures Without Stopping .NET BackgroundService
C# Corner
Learn how to prevent individual job failures from stopping a .NET BackgroundService by isolating exceptions, handling cancellation, retrying transient errors, and monitoring workers.
Topics: .NET Core Performance
Read articleDisplaying Server-Side Validation Errors in Blazor Forms
C# Corner
Learn how to display field-specific server-side validation errors in Blazor forms using EditContext, ValidationMessageStore, and ASP.NET Core API responses.
Topics: ASP.NET Core Blazor
Read articleTalking to an IBM i (AS/400) from .NET: data queues, COBOL and a live web page
Medium
If you have ever heard “AS/400” and thought “that thing from the 80s”, this article is for you. IBM i (the modern name of the AS/400) is…
Topics: C#
Read articleAdding a JWT Authorize Button to Swagger UI
Medium
Add a JWT Authorize button to Swagger UI or Scalar in ASP.NET Core: bearer scheme, locks only on [Authorize] endpoints, Swashbuckle 10 and…
Topics: ASP.NET Core Authentication JWT
Read article.NET 11 is here. C# 15 finally gives us union types.
Medium
A closer look at return types, generated SQL, and a few release details that are easy to misread.
Topics: C#
Read articleAI in Software Architecture in .NET C#: Where language models belong in your application (2026)
Medium
Imagine the e-commerce of the previous series: the order flow works, from the cart to the “Your order has been confirmed!” email. Now the…
Read articleC# Cheat Sheet: Modern Syntax Reference with Examples
Khalid Abuhakmeh
A modern C# cheat sheet with copy-paste examples: types, collections, pattern matching, LINQ, async/await, records, and null handling for .NET.
Topics: C#
Read articleWhat’s New in .NET 11 and C# 15: A Practical Guide
Medium
Key features explained with simple before/after examples
Topics: C#
Read articleWhen to Use JSON Source Generation Instead of Reflection in .NET
C# Corner
Learn when to use System.Text.Json source generation instead of reflection in .NET, including trade-offs for startup performance, trimming, memory use, and Native AOT.
Topics: Native AOT Source Generators System.Text.Json
Read articleWhat happens to a method that awaits forever?
Steven Giesel
What happens if you await something that never finishes? Does the method sit in memory until the heat death of the universe (or all the other possible scenarios)? Does it leak? Let's find out, and the...
Topics: C#
Read articleTemporal Makes .NET Agent Runs Survive Process Restarts
Medium
A completed model call survives a worker restart. An interrupted one runs, and bills, twice. Plan for both.
Read article