This solution contains several demos that are documented on the ozkary.com blog. Each demo is associated to a blog entry.
Add Data Annotations to Entity Framework Models with Metadata or Buddy Classes
Self-Describing ENUM types for your MVC application with Extension Methods
Demo shows how an API call can be protected using anti-forgery tokens.