I\'m quite new to asp.net mvc, and right know I\'m trying to find out a good practise to do input validation.
In the project we\'re going to use entity framework, wh
Phil Haack has written a good blog post that covers how to do this. Essentially it is much the same except you use resource files to provide the messages.
[Required(ErrorMessageResourceType = typeof(Resources), ErrorMessageResourceName = Required")] public string MyProperty{ get; set; }