When to use IOptionsMonitor?
IOptionsMonitor returns the "CurrentValue" of the options along with notifications when the options change.
- It is created as a SingletonService which can be injected into any service
- It also supports updated options when the configuration changes after app starts
- It also supports "named" options
Posted Jul 09, 2020