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

Exploring the .NET Core 2.1 Docker files (updated): dotnet:runtime vs aspnetcore-runtime vs sdk
In this post, I look at the various Docker base images available for .NET Core 2.1 development, how they differ, and when you should use each of them.…

Setting ASP.NET Core version numbers for a Docker ONBUILD builder image
In this post I show how you can pass arguments (such as a build/version number) to a base Dockerfile when using generalized builder images that use ONBUILD.…

Creating a generalised Docker image for building ASP.NET Core apps using ONBUILD
In this post I show how you can use the Docker ONBUILD command to create a generalised Docker base image for building and testing ASP.NET Core apps…
Optimising ASP.NET Core apps in Docker - avoiding manually copying csproj files (Part 2)
In this post I show how you can optimise your ASP.NET Core Dockerfile for restore without having to list every project or create a tarball using scripts…

Using an IActionFilter to read action method parameter values in ASP.NET Core MVC
In this post I shown how you can use an IActionFilter in ASP.NET Core MVC to read the method parameters for an action method before it executes.…

Implementing custom token providers for passwordless authentication in ASP.NET Core Identity
In this post I show how to create 2 custom token providers for ASP.NET Core Identity, so that you can implement passwordless login with a short token expiry…

