Blog Archives

ASP.NET MVC Label display name and validation messages


This is an aide-memoire for how ASP.NET MVC will output label and error messages and what “settings” will override which ones. Model public class LoginModel {     [Required]     public string UserName { get; set; }     [Required]     [DataType(DataType.Password)]

Posted in AideMemoire, ASP.NET MVC