Using IOptions<T> helps avoid injecting the entire configuration model. However, defining an explicit class has the advantage of clearly expressing required settings, improving code readability, maintainability, and testability.
IOptions<T>