.NET Data Validation

I love data validation in .NET as it provides a very powerful mechanism to define an object and its validations. In these articles I’m always searching for the best way to use this powerful mechanism.

There are 3 articles tagged with .NET Data Validation.

“Is One Of” and “Is Not One Of” validation attributes

I love attribute validation! They can be used for a myriad of things. In .NET Core MVC we use them to validate models that come into our controllers. In one of our projects we kept running into the same thing: we need to validate a value against an array of pre-defined values. So we wrote some base validation attributes.

Read the article “Is One Of” and “Is Not One Of” validation attributes
expand_less brightness_auto