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

Creating an analyzer to detect infinite loops caused by ThreadAbortExceptions
In this post I describe a Roslyn Analyzer I created to detect code that can result in infinite loops if a ThreadAbortException is raised…

Disabling localized satellite assemblies during dotnet publish
In this post I show how to reduce the size of the publish output for .NET apps by preventing the publishing of localization resources when they're not needed…

Setting application environment variables in IIS without restarts
In this post I outline how IIS works, describe how to add environment variables to app pools, and show how to prevent automatic app pool recycling on changes…

8 ways to set the URLs for an ASP.NET Core app
In this post I describe 8 different ways to set which URLs your ASP.NET Core application listens on.…

Supporting integration tests with WebApplicationFactory in .NET 6
Exploring .NET 6 - Part 6
In this post I look at the changes that were made to WebApplicationFactory<T> to support minimal hosting APIs with WebApplicationBuilder in .NET 6…

Supporting EF Core migrations with WebApplicationBuilder
Exploring .NET 6 - Part 5
In this post I describe how HostBuilder had to be updated to support the EF Core tools after the introduction of WebApplication and WebApplicationBuilder…

