(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .
        Login with Facebook

Manual Validation with Data Annotations

(0 votes)
0 comments   /   posted by Silverlight Show on Jun 30, 2011
Tags:   validation , data-annotations

Read original post at OdeToCode

Several people have asked me about using data annotations for validation outside of a UI framework, like ASP.NET MVC or Silverlight. The System.ComponentModel.DataAnnotations assembly contains everything you need to execute validation logic in the annotations. Specifically, there is a static Validator class to execute the validation rules.


Comments

No comments

Add Comment

Login to comment:
  *      *       
Login with Facebook

Our News on Twitter


Latest News

  • Daily News Digest 09/14/2011
  • Top 10 Moments from BUILD Day 1 Keynote and what wasn't said
  • SilverlightShow Webinar Newsletter for September is Out!
  • Windows 8 and Build Day 1 Keynote Thoughts by Jeremy Likness