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

Why isn't my ASP.NET Core environment-specific configuration loading?
In this post I describe an issue I was having in which my application wouldn't load my appsettings.Development.json file when running in Docker on Linux…

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…

Sharing appsettings.json configuration files between projects in ASP.NET Core
In this post I show how you can extract common settings to a shared JSON file and how to configure your projects to use them locally and after publishing…

Exploring Program.cs, Startup.cs and CreateDefaultBuilder in ASP.NET Core 2 preview 1
In this post, I'll take a look at how Program.cs and Startup.cs have changed in ASP.NET Core 2.0 preview 1 and introduce the new CreateDefaultBuilder method.…

Reloading strongly typed options in ASP.NET Core 1.1.0
In this post, I show how to use the new IOptionsSnapshot interface to reload strongly typed options when a configuration file changes in ASP.NET Core 1.1.0…

