Note that there are some explanatory texts on larger screens.

plurals
  1. POWhat would you use for a business validation layer?
    text
    copied!<p>In my project I need to create a business object validation layer that will take my object and run it against a set of rules and return either pass or fail and it's list of failure reasons. I know there are quite a few options out there for accomplishing this.</p> <p>From Microsoft:</p> <ul> <li><a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Fcc309509.aspx&amp;ei=LAGOSYrcN5CCNcTMiZIL&amp;usg=AFQjCNGYSsoNq_hV223GKaGvO0EMTfN4Pw&amp;sig2=AtQJwf8KrUATfYvTMD9q4g" rel="nofollow noreferrer">Enterprise Library Validation Application Block</a></li> <li><a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Faa480193.aspx&amp;ei=SAGOSfbtGpCCNbXMiZIL&amp;usg=AFQjCNFAKrvKAmkMkprSsL-YDtXcP5_m4A&amp;sig2=FHQuHQpcyQSxhJvM08ovtg" rel="nofollow noreferrer">Windows Workflow Foundation Rules Engine</a></li> </ul> <p>Open Source:</p> <ul> <li><a href="http://droolsdotnet.codehaus.org/" rel="nofollow noreferrer">Drools.NET</a></li> <li><a href="http://sourceforge.net/projects/sdsre/" rel="nofollow noreferrer">Simple Rule Engine(SRE)</a> </li> <li><a href="http://nxbre.wiki.sourceforge.net/" rel="nofollow noreferrer">NxBRE</a></li> </ul> <p>Has anyone had any particularly great successes or failures with any of these technologies (or any that I didn't list) or any opinions on what they feel is best suited for business rules validation.</p> <p><strong>Edit:</strong> I'm not just asking about generic validations string length &lt; 200, zip code is 5 digits or 5+4 but assume that the rules engine would actually be leveraged.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload