How to use IOptions for Config Binding

Data Validation on Options

Links:

How to use the options pattern in ASP.NET Core