I have the following scenario:
- A business logic layer (class library) that makes use of the validation block;
- A WCF service that uses the business logic layer.
I want the business logic validation to be customizable with configuration, but I am not sure where should I put the configuration.
Should it be on the WCF web.config, or in the business logic class library app.config?
I feel that it should be in the class library app.config, but I am not sure where to call the code to instruct the validation block that it should read the configuration:
The class library has not entry point to call this.
Is there a known good way of doing it?