Greg,
If you are starting new validation work I'd be taking a good look at this:
https://fluentvalidation.codeplex.com/
We've used it in a largish MVC project quite happily (I also wish we'd used
it in another project as it would have made conditional validation for
different clients a breeze
If you are starting new validation work I'd be taking a good look at this:
https://fluentvalidation.codeplex.com/
Yes, I just read through the documentation and it looks clear and
lightweight, things I normally desire. I'll bear this in mind for future
projects. I have already written some T4
There is a similar usage of DataAnnotations described in an article at
CodeProject -
http://www.codeproject.com/Articles/256183/DataAnnotations-Validation-for-Beginner
Ta, I eventually stumbled on that one too. For ages I couldn't find
anything that actually used the attributes and I thought
To: ozDotNet
Subject: Re: Validation
There is a similar usage of DataAnnotations described in an article at
CodeProject -
http://www.codeproject.com/Articles/256183/DataAnnotations-Validation-for-Beginner
Ta, I eventually stumbled on that one too. For ages I couldn't find anything
Finally found a way of using the DataAnnotations. This guy
http://aboutdev.wordpress.com/2009/12/20/poor-mans-validation/ points out
the Validator
http://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.validator(v=vs.110).aspx
class static methods. The code is a bit weird
=vs.110).aspx ).
_
Ian Thomas
Albert Park, Victoria
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On
Behalf Of Greg Keogh
Sent: Tuesday, October 07, 2014 3:58 PM
To: ozDotNet
Subject: Re: Validation
Finally found a way of using the DataAnnotations