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

Adding content negotiation to minimal APIs with Carter
In this post I show how to use the open source library Carter to add content negotiation to an ASP.NET Core minimal API app…

Returning XML from minimal APIs in .NET 6
In this post I show how to return an XML response from minimal APIs, how to create a helper extension method, and discuss performance considerations…

Consuming anonymous types with DiagnosticListener in .NET 6
In this post I look at how to consume DiagnosticListener events where the object is an anonymous type, and so can't be cast to a named Type.…

A brief introduction to DiagnosticSource
In this post I describe the DiagnosticSource infrastructure, how it compares to other logging APIs, and how to use it to listen to framework events…

Using PathBase with .NET 6's WebApplicationBuilder
In this post I describe the difficulties of adding calls to UsePathBase with .NET 6 WebApplication programs, and describe two approaches to work around it…

Tracking down a hanging xUnit test in CI: building a custom Test Framework
In this post I describe how we tracked down a hanging xUnit test by building a custom XuniTestFramework implementation…

