blog.pagesd.info // Archives // Traductions

Data annotation belong to View models

2010-07-02 #mvc

Personally, my recommendation for people who want strict SoC (like I do) is to use ViewModels and only place the annotations on the view model.

ASP.NET MVC 2 Templates, Part 4: Custom Object Templates, via The Big Boy MVC Series