What are Validation Annotations?

Author Topic: What are Validation Annotations?  (Read 509 times)

Offline beingchinmayTopic starter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Thank You 1
  • Posts: 73
  • Karma: 0
  • Gender: Male
  • I am Chinmay
    • Fat Cutter
What are Validation Annotations?
« on: 03-25-2017, 04:17:34 »
Data annotations are attributes you can find in the "System.ComponentModel.DataAnnotations" namespace. These attributes provide server-side validation, and the framework also supports client-side validation when you use one of the attributes on a model property. You can use four attributes in the DataAnnotations namespace to cover the common validation scenarios, Required, String Length, Regular Expression and Range.


 

Related Topics

  Subject / Started by Replies Last post
9 Replies
7447 Views
Last post 02-13-2012, 02:58:25
by seoguro
6 Replies
3664 Views
Last post 10-29-2014, 06:20:12
by keith.bowman
4 Replies
2912 Views
Last post 09-29-2013, 05:17:29
by filmizle2013
7 Replies
2911 Views
Last post 02-25-2015, 23:53:40
by Executive Modcar
13 Replies
6781 Views
Last post 01-10-2017, 00:08:39
by Tommy Tommy