In pursuit of finding the best way to have a date displayed on a Razor as just a short date, I have stumbled across Data Annotations, they seem quite nice being able to attach additional meta-data to my various models.
Here's the catch though: I'm using NHibernate configured by Fluent NHibernate, and NHibernate doesn't seem to carry the attributes over to it's generated proxy classes.
Is there some way to force it to copy the attributes, or should I not be using my model classes directly in a view, and instead transform the model someway (T4 template?)