- 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 smoke tests for ASP.NET Core apps in CI using Docker
In this post I'll describe how to use Docker to run a smoke test as part of a CI build pipeline to check that an ASP.NET Core app is able to start up…

Adding Segment client-side analytics to an ASP.NET Core application
In this post I show how to add the Segment analytics.js library to your ASP.NET Core application using Razor, to give client-side analytics for your app.…

Using snake case column names with Dapper and PostgreSQL
In this post I describe how to use snake case naming conventions when using Dapper, by using "Schema" utility classes, nameof(), and a ToSnakeCase() method.…

Adding Serilog to the ASP.NET Core Generic Host
In this post I introduce the Serilog.Extensions.Hosting package, discuss why it's necessary, and describe how to use it to add Serilog to a generic host app…

The ASP.NET Core Generic Host: namespace clashes and extension methods
In this post I discuss the generic host introduced in ASP.NET Core 2.1, and how its different namespace can cause problems for existing code.…

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

