- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

Exploring the new AI chat template
In this post I explore the new .NET AI Chat Web App template (currently in preview) and take a brief look at the implementation it provides…

Recent updates for NetEscapades.EnumGenerators: interceptors!
In this post I describe the experimental interceptor support in NetEscapades.EnumGenerators that replaces ToString() calls with ToStringFast() automatically…

Is the result pattern worth it?
Working with the result pattern - Part 4
In this post I discuss some of the pros and cons around using the result pattern in .NET, and describe some of the arguments I've heard on either side…

Adding more extensions to Result<T>
Working with the result pattern - Part 3
In this post I show how to extend your LINQ-based result pattern code to handle more scenarios, such as Task<Result<T>> and collections of Result<T>…

Safety and simplicity with LINQ
Working with the result pattern - Part 2
In this post I show how to clean up unreadable Switch()-based result pattern code using LINQ query syntax, giving both readability and safety…

Replacing Exceptions-as-flow-control with the result pattern
Working with the result pattern - Part 1
In this post I discuss why you might want to use the result pattern, demonstrate it with a simple example and show a naïve, ugly, solution…

