PreviousNext

Adding validation to strongly typed configuration objects in ASP.NET Core

by bill-s, 2018-07-11T05:23:17.679Z

In this post I describe an approach you can use to ensure your strongly typed configuration objects have been correctly bound to your configuration when your app starts up. By using an IStartupFilter, you can validate that your configuration objects have expected values early, instead of at some point later when your app is running.

Read More