Configuring named options using IConfigureNamedOptions and ConfigureAll

added by DotNetKicks
10/30/2018 12:09:22 PM

2 Kicks, 984 Views

This is a follow on to my previous post on using multiple instances of strongly-typed settings in ASP.NET Core 2.x. At the end of that post I introduced the concept of named options which were added in ASP.NET Core 2.0. In this post I'm going to look closer at how you can configure named options.