data-display-name= in razor mvc 5 code example Example: asp.net model display name [DisplayName("foo")] public string MyProperty { get; set; }