Custom model binding, model state, and data annotations
I have a few questions regarding custom model binding, model state, and data annotations. 1) Is it redundant to do validation in the custom model binder if I have data annotations on my model, because that's what I thought the point of data annotations were. 2) Why is my controller treating the model state as valid even when it's not, mainly I make the Name property null or too short. 3) Is it ok to think of custom model binders as constructor methods, because that's what they remind me of. First here is my model. public class Projects { [Key] [Required] public Guid ProjectGuid { get; set; }