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

Configuring contextual options with Microsoft.Extensions.Options.Contextual
In this post I take a brief look at the Microsoft.Extensions.Options.Contextual package to understand what it's for, how to use it, and whether to use it or not…

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…

Using the YamlDotNet source generator for Native AOT
In this post I show how you can use the YamlDotNet source generator to do strongly-typed serialization and deserialization, even in Native AOT apps…

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

