What are Validation Annotations?

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

Offline beingchinmayTopic starter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Thank You 1
  • Posts: 73
  • Karma: 0
  • Gender: Male
  • I am Chinmay
    • Modular Kitchen Designer
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.


Offline richardmsmith

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 229
  • Karma: 0
  • Gender: Male
    • Trucking App Solution
Re: What are Validation Annotations?
« Reply #1 on: 08-30-2018, 23:54:48 »
In the.Net Framework The System.ComponentModel.DataAnnotations namespace provides attribute classes that are used to define metadata for ASP.NET MVC and ASP.NET data controls.

 

Related Topics

  Subject / Started by Replies Last post
9 Replies
8451 Views
Last post 02-13-2012, 02:58:25
by seoguro
6 Replies
4006 Views
Last post 10-29-2014, 06:20:12
by keith.bowman
4 Replies
3511 Views
Last post 09-29-2013, 05:17:29
by filmizle2013
9 Replies
4248 Views
Last post 03-03-2018, 02:07:29
by michral86
17 Replies
12598 Views
Last post 09-04-2018, 00:06:53
by fisherjames731