The Options Pattern in ASP.NET Core explained In 20 seconds #shorts

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Very useful, and it encourages me to move hard coded keys and secrets to the app-settings file as it would be easy to get things out of the app-settings file with this technique. Thanks

yp
Автор

Ah cool i have always used with an custom extension method to validate my settings but this looks cleaner to me.

One Problem: in my test the ValidateDataAnnotations() method cannot be resolved. I am missing something?

MackaBaer