options pattern
Reading a group of settings into a small class your code asks for.
The options pattern binds a configuration section to a strongly typed class, injected as IOptions
Examples
builder.Services.Configure<ShopOptions>(builder.Configuration.GetSection("Shop"));, then a constructor that takesIOptions<ShopOptions>.
See also