Blazor, Testing, and Operational .NET
This edition covers reusable forms, deterministic time tests, AI approval controls, serverless tracing, and ASP.NET Core startup diagnosis.
Jasen's top three picks
- 1 Building Forms in Blazor With Reusable Components
C# Corner
Reusable form components are worth standardizing early; validation and layout consistency compound across business screens.
- 2 TimeProvider in .NET: How to Test Time-Dependent Code Without Waiting
Medium
TimeProvider is the right seam for expiry, scheduling, and timeout tests that should never depend on wall-clock waits.
- 3 C# 15 Union Types vs Result Pattern: What Do Backend APIs Actually Gain?
Medium
Union types may improve exhaustiveness, but API contracts still need careful choices around HTTP status codes and JSON.
Editor's note
I pulled together a deliberately varied set today, from reusable Blazor form components to practical startup-performance investigation. The TimeProvider piece is a useful reminder that time-dependent behavior should be tested deterministically, while the AI-agent approval workflow puts needed auditability around production changes.
Today's articles
Building Forms in Blazor With Reusable Components
C# Corner
Introduction Forms are part of almost every business application. Whether you are building a user registration page, customer management system, employee portal, or order management application, you w...
Topics: Blazor
Read articleTimeProvider in .NET: How to Test Time-Dependent Code Without Waiting
Medium
Imagine you’re building an application that sends OTPs to users. An OTP is valid for only 5 minutes. You write something like this:
Topics: C# Unit Testing
Read articleC# 15 Union Types vs Result Pattern: What Do Backend APIs Actually Gain?
Medium
Four checkout outcomes, a fifth-case change, and the boundaries between compiler coverage, HTTP contracts and JSON in .NET 11 RC3.
Read articleBlazor’s New AI Components: My Notes on Designing a Real Editor
Medium
Last week I asked an assistant to shorten a proposal for me. It gave me back… another full proposal. I copied it into my editor, put back…
Topics: Blazor
Read articleBuilding Reliable Background Jobs in ASP.NET Core With Idempotency and Retry Handling
C# Corner
Learn how to build reliable ASP.NET Core background jobs with durable job records, idempotency, retries, and failure handling.
Topics: ASP.NET Core
Read articleAdding Human Approval Before an AI Agent Changes Production Systems
C# Corner
Build a human approval workflow for AI agents that propose production changes using ASP.NET Core, C#, Entity Framework Core, and auditable execution controls.
Topics: ASP.NET Core EF Core Security
Read articleThinking Like a Programmer: Turning a Vague Request Into Working Code
Dotnet on Medium
Go from a one-sentence request to a small, tested program without guessing what the business meant.Continue reading on Dev Genius »
Topics: Unit Testing
Read article7 Design Patterns Every .NET Developer Already Uses (and How to Use Them on Purpose)
Medium
A practical tour of the patterns that show up in almost every .NET codebase, with C# you can paste into a project today.
Topics: C# Design Patterns
Read articleUsing OpenTelemetry to Trace Requests Across Serverless Functions
C# Corner
Learn how OpenTelemetry distributed tracing follows requests across serverless functions, propagates trace context, and is configured in an ASP.NET Core application.
Topics: ASP.NET Core Azure Functions OpenTelemetry
Read articleFinding the Cause of Slow Startup in Large .NET Applications
C# Corner
Learn how to diagnose and reduce slow ASP.NET Core startup by measuring initialization work, reviewing dependency injection, and handling database and hosted-service delays.
Topics: ASP.NET Core Performance Profiling
Read article