- 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.
-
Using multiple instances of strongly-typed settings with named options in .NET Core 2.x
In this post I describe how you can register multiple instances of a strongly-typed settings object in the ASP.NET Core DI container using named options.…
-
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.…