The “DRY Principle” stands for “Do Not Repeat Yourself”, and
is a best practice that recommends that you avoid duplicating
logic/configuration/code in multiple places across your application, and
instead specify it only once and have it apply everywhere.
EF Code First CTP5 now enables you to apply declarative
DataAnnotation validations on your model classes (and specify them only once)
and then have the validation logic be enforced (and corresponding error
messages displayed) across all applications scenarios – including within
controllers, views, client-side scripts, and for any custom code that updates
and manipulates model classes.
This makes it much easier to build good applications with
clean code, and to build applications that can rapidly iterate and evolve.