– Option model and configuration

When dealing with large configuration sets of value, it might become quite unhandy to load them one buy one.

Option model which comes with offers a convenient way to map a section to a dotnet poco:
For instance, one might hydrate StorageOptions directly from a configuration section b adding Microsoft.Extensions.Options.ConfigurationExtensions package and calling the Configure<TOptions>(IConfiguration config) extension method.


if you want to reproduce, please indicate the source: – Option model and configuration - CodeDay