Skip to content

Instantly share code, notes, and snippets.

View toepoke's full-sized avatar

fj toepoke

View GitHub Profile
@odrix
odrix / Employe.cs
Created February 15, 2013 14:26
use data-annotation and ShortName with DisplayAttribute in ASP.NET MVC 4.0 (razor engine)
public class Employe
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
[Display(Name="Years of Experience", ShortName="Nb Exp")]
public int ExpYear { get; set; }
}
@davidfowl
davidfowl / .NET6Migration.md
Last active October 23, 2024 18:30
.NET 6 ASP.NET Core Migration