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

Pushing NuGet packages built in Docker by running the container
In this post I show how to create a Dockerfile for building your NuGet packages which you can then run as a container to push them to a NuGet feed.…

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 NuGet packages in Docker using the .NET Core CLI
In this post, I discuss how you can create NuGet packages when you build your app in Docker using the .NET Core CLI and pass a version using --build-args.…

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…

