The dangers and gotchas of using scoped services in IConfigureOptions

added by DotNetKicks
10/23/2018 10:29:19 AM

2 Kicks, 623 Views

The configuration system in ASP.NET Core allows you to load key-value pairs from a wide variety of sources such as JSON files, Environment Variables, or Azure KeyVault. The recommended way to consume those key-value pairs is to use strongly-typed classes using the Options pattern.