There are two major methods to validate models
- Check
Model.IsValidin every action - Implement
ActionFilterAttributeand which checks!actionContext.ModelState.IsValidevery request, register it globally.
Which one do you use? What are pros/cons of them?