PostConfigure
An options step that runs after all binding and Configure calls, used to fill in or derive values last.
In more detail
It runs before validation, so validators see the final values. It is the place for a value that depends on other settings.
Related terms
- options pattern — Binding a configuration section to a plain class with typed properties, validating it, and injecting it into services instead of reading raw strings.
- IValidateOptions<T> — An interface for writing options validation rules in code, such as a rule comparing two members that no single attribute can express.
Taught in
- The Options Pattern: Strongly Typed Configuration — Modern .NET Core, C# & Enterprise Microservices