Thursday, May 5, 2016

Using Data Annotations in ASP.NET MVC Web Applications

If you use Data Annotations for your ASP.NET MVC Model or ViewModel classes, it is often difficult to remember exactly which Data Annotations are available to decorate your classes!

Well, fortunately, Microsoft has created an MSDN article covering many of the commonly available Data Annotations for use on your classes:

System.ComponentModel.DataAnnotations Namespace

DataType Enumeration

No comments:

Post a Comment