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

Running .NET Core global tools in non-sdk Docker images
In this post I describe how you can avoid the dependencies of global tools on the .NET Core SDK and runtime by containerising them using Docker.…

Packaging CLI programs into Docker images to avoid dependency hell
In this post I show how to create a Docker image containing your favourite CLI tool, and a helper script for invoking it. I demonstrate with the AWS CLI.…

New in ASP.NET Core 3.0: structured logging for startup messages
Exploring ASP.NET Core 3.0 - Part 6
In this post I describe a change in ASP.NET Core 3.0 that means startup messages use structured logging…

Introducing IHostLifetime and untangling the Generic Host startup interactions
Exploring ASP.NET Core 3.0 - Part 5
In this post I introduce the new IHostLifetime interface and look at the interactions involved in the ASP.NET Core generic host startup and shutdown processes…

Running async tasks on app startup in ASP.NET Core 3.0
Exploring ASP.NET Core 3.0 - Part 4
In this post I describe how a small change in the ASP.NET Core 3.0 WebHost makes it easier to run asynchronous tasks on app startup using IHostedService…

New in ASP.NET Core 3: Service provider validation
Exploring ASP.NET Core 3.0 - Part 3
In this post I describe the ValidateOnBuild feature that is new to .NET Core 3.0. I also show five gotchas to look out for that the DI validator will miss.…

