MrT Stephens
MrT Stephens's Articles
Using C# 14 Extension Members: Beyond Extension Methods
Learn how C# 14 extension members go beyond extension methods. This practical guide shows how to use the new extension block syntax to declare extension properties, static extension members, and user-defined operators in .NET 10, along with ref receivers, generic constraints, and the rules that trip developers up.
Published on 26 September 2026
Read moreUsing FluentValidation in C#: Building Maintainable Validation Rules
Learn how to replace messy inline validation with FluentValidation in C#. This practical guide covers creating validators, chaining rules, reusing validators for complex properties, and integrating with ASP.NET Core.
Published on 22 August 2026
Read moreUsing MediatR in ASP.NET: Building Clean, Decoupled Applications
Learn how to use MediatR in ASP.NET Core to implement commands, queries, notifications, and pipeline behaviors. This practical guide shows how to structure handlers, reduce controller bloat, and build maintainable C# applications.
Published on 23 March 2026
Read moreUsing Refit in C#: Simplifying API Calls with Type-Safe Clients
Learn how to simplify REST API integration in C# with Refit. This practical guide shows how to set up Refit, create type-safe API clients, and use dependency injection to build clean, maintainable .NET applications.
Published on 29 October 2025
Read more