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

Creating an If Tag Helper to conditionally render content
In this post, I create a simple tag helper to conditionally render content in a Razor page, equivalent to adding an @if statement to standard Razor.…

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

Adding validation to strongly typed configuration objects in ASP.NET Core
In this post I describe how to to verify your strongly typed configuration objects are correctly bound to your configuration at app startup…

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…

Writing logs to Elasticsearch with Fluentd using Serilog in ASP.NET Core
In this post, I describe how to customise the output of the Serilog Console sink so that you can pipe your console output to Elasticsearch using Fluentd.…

Suppressing the startup and shutdown messages in ASP.NET Core
In this post I show how to disable the startup messages shown in the console when you run an ASP.NET Core application using WebHostBuilder or HostBuilder.…

