How would I go about writing a custom ValidationAttribute that compares two fields? This is the common \"enter password\", \"confirm password\" scenario. I need to be sure t
You could have a custom validation attribute and apply it on the model and not on individual properties. Here's an example you might take a look at.