Name based metadata provider using Umbarco dictionary.
Nuget Package:
Install-Package MissingCode.Umbraco.DictionaryMetadataProvider
based on forum solution http://our.umbraco.org/forum/templating/templates-and-document-types/39555-Surface-controller-and-data-annotations
Automaticly name and validation attributes resolving using naming convention.
ModelName(Without Model).PropertyName.AttributeName
2.0.0 Umbraco 8 support
1.0.5.1: Dictionary caching implementation, based on http://issues.umbraco.org/issue/U4-8107
1.0.3: common name lookup added : PropertyName.AttributeName
For example: ContactForm.Email.EmailAddress
Automaticly format for required attibute