Data annotations are useful for window forms as well as MVC pages. I like the fact that I can specify them statically with the classes I am displaying for input or editing.
I cannot seem to constrain a string length to between two numbers (say >= length 10, <= length 60).
I can specify that it is required, but not that it is of a specific length.
Here is a code snippet that does not work:
Property Title As String
Required still works, but stringlength is ignored!