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

The difference between GetService() and GetRequiredService() in ASP.NET Core
This post looks at the GetService() and GetRequiredService() methods of the ASP.NET Core DI container, the difference between them and which you should use…

Converting web.config files to appsettings.json with a .NET Core global tool
In this post I describe how I created a .NET Core global tool to easily convert configuration stored in web.config files to JSON files for ASP.NET Core.…

Building .NET Framework ASP.NET Core apps on Linux using Mono and the .NET CLI
In this post I describe the steps to get an ASP.NET Core library that targets both .NET Framework and .NET Standard, building, and running tests on Linux.…

Building ASP.NET Core apps on both Windows and Linux using AppVeyor
In this post I show how to take an existing appveyor.yml file and update it to allow building of .NET Core apps cross-platform using Windows and Linux…

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

