IConfiguration

The .NET interface for reading configuration, a merged set of key-value strings from settings files, environment variables and other providers.

In more detail

config["Catalog:DefaultPageSize"] returns a string or null, with no checking. Read it while wiring up the app, and depend on typed options everywhere else.

Related terms

Taught in

References