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

Automatic CSRF protection based on Fetch Metadata headers
Exploring the .NET 11 preview - Part 6
In this post I describe the new Cross-Site Request Forgery protection added to ASP.NET Core that uses Fetch Metadata HTTP headers instead of antiforgery tokens…

Understanding the Fetch Metadata HTTP headers: Sec-Fetch-Site and friends
In this post I describe the Fetch Metadata HTTP headers like Sec-Fetch-Site and Sec-Fetch-Mode which give information to a server about the context of a request…

Improvements to reading Process outputs
Exploring the .NET 11 preview - Part 5
In this post I show some of the improvements to the Process API in .NET 11 for running processes and reading their outputs without risk of deadlock…

Closed class hierarchies
Exploring the .NET 11 preview - Part 4
In this post I describe what a close closed hierarchy is, how to create one, and discuss why you might want to…

Avoiding ToString() allocations with StringBuilder.MoveChunks
Exploring the .NET 11 preview - Part 3
In this post I take a short look at the new MoveChunks API, explore how it works, what it's for, and how the new API provides opportunities for public APIs…

.NET (OK, C#) finally gets union types🎉
Exploring the .NET 11 preview - Part 2
In this post I discuss the support for union types released in .NET 11, how they're implemented, the choices made, and how to create your own…

