configuration key
The name of a configuration value, written as a path with colons between levels, such as Catalog:DefaultPageSize.
In more detail
Keys are case-insensitive. In environment variables the colon is written as a double underscore, as in Catalog__SigningKey.
Related terms
- IConfiguration — The .NET interface for reading configuration, a merged set of key-value strings from settings files, environment variables and other providers.
- configuration section — A named group of related settings, such as the Catalog object in appsettings.json, that binds to one options class.
- environment variable — A named setting such as PORT=8000 that a program reads from its surroundings when it starts.
Taught in
- The Options Pattern: Strongly Typed Configuration — Modern .NET Core, C# & Enterprise Microservices
- Environment Layering and User Secrets — Modern .NET Core, C# & Enterprise Microservices