I try to find a simple way to get the DisplayName of a model property.
DisplayName("FullName")]
public string Name { get; set; }
In an .razor page I can not seems to get it in (example) label or even see it in an InputText
<label asp-for="Model.Name" class="control-label"></label>
<InputText class="form-control" DisplayName="Model.Name" @bind-Value="@Model.Name" />
Does anybody knows how to get this?