Strong Like Bool
  • Home
Subscribe
Tagged

aspnet

A collection of 1 post

nuget

Enum Support in MVC 5.1

MVC 5.1 introduced some really great support for enums as announced in the MVC 5.1 release notes. Given the following enumeration and model class... public enum Heroes { Batman, Superman, WonderWoman } public class EnumSample { public Heroes Hero { get; set; } } using the following built in HTML helper method @Html.EnumDropDownListFor(

  • Jimmie Houts
Jimmie Houts Sep 20, 2014 • 3 min read
Strong Like Bool © 2021
Powered by Ghost