linkdotnet/Blog

Use `IOptions` pattern instead of `AppConfiguration` and `AppConfigurationFactory`

Closed this issue · 2 comments

In its current implementation, there is only one object AppConfiguration that is created by AppConfigurationFactory.

We could replace this all with IOptions<T> and use validationattributes on the objects. The usage in certain scenarios would be way easier.

@linkdotnet need any help with this?

Oh absolutely! A helping hand here is very welcome.