Using multiple instances of strongly-typed settings with named options in .NET Core 2.x

added by DotNetKicks
10/16/2018 10:39:31 AM

2 Kicks, 481 Views

ASP.NET Core has used the Options pattern to configure strongly typed settings objects since before version 1.0. Since then, the feature has gained more features. For example ASP.NET Core 1.1 introduced IOptionsSnapshot which allows your strongly typed options to update when the underlying IConfigurationRoot changes (e.g.


0 comments