- Loading...
-
Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!
-
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.
-
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.…
-
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 .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.…