- 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.

A failed experiment with interceptors in C# 12 and .NET 8
In this post I described how I tried (and failed) to add an interceptor for Enum.ToString(), due to a bug in the Roslyn compiler.…

Reading JSON and binary data from multipart/form-data sections in ASP.NET Core
In this post I describe how to read both JSON and binary data from a multipart/form-data request using two approaches - MultipartReader and IFormFile…

Avoiding flaky tests with TimeProvider and ITimer
Exploring the .NET 8 preview - Part 12
In this post I look at the new TimeProvider and ITimer types added in .NET 8, describe how to use them, and show some of the testing problems they solve…
in .NET 8
Short-circuit routing in .NET 8
Exploring the .NET 8 preview - Part 11
In this post I describe the new short-circuit routing feature, how it differs from normal routing, discuss why it's useful, and look at how it's implemented…

Updates to Docker images in .NET 8
Exploring the .NET 8 preview - Part 10
In this post I describe the changes to .NET 8 docker files in .NET 8 including changes to images, new image types and changes to image tagging…

Rendering Blazor components to a string
Exploring the .NET 8 preview - Part 9
In this post I describe how to render Blazor components to a string, how to use HtmlRenderer in ASP.NET Core, and show what does and doesn't work…

