Entlib5: Validation configuration storage in business object project file?

Topics: Validation Application Block
Jun 28, 2010 at 2:17 PM

Is there a way to define validation rules in a configuration file that is part of my business object project and then include those rules in whatever client project uses the business object project?  Right now I'm defining rules in my web.config but that doesn't insure that the rules are kept with the business objects for other uses.

Replies are greatly appreciated.


Jun 28, 2010 at 3:46 PM

It is certainly possible to do this. Look at this blog post.

Jun 29, 2010 at 6:00 AM

Thanks a bunch.   That triggered me to recall the whole redirected configuration functionality that is documented in the "About the configuration system" section of the manual (html help).    It's exactly what I wanted to do.