ASP.NET MVC with Cleaner Data Annotations

Posted by Stian on January 11, 2012

 


While using data annotations with localization in your MVC model, you may end up with some untidy looking code like in this example, where all we do is adding display information and validation:



   1:  public class Character {

   2:    [Display(Name="Character_FirstName",
... [read more]

Rating

not rated

Reviews

There are currently no comments or reviews.

Submit a review:

Login required.