Configuration File Size

Topics: General discussion, Validation Application Block
Jun 28, 2007 at 3:17 PM
I am thinking about using the Validation application block on a data access layer using custom business entities. I would like to add validation to each entities' property with an underlying database restriction, i.e. a StringLengthValidator on varchar fields with the upperbound set to the maximum length of the string in the database. I also intend to use the Exception Handling, Data Access, Policy Injection and Logging Application Blocks.

My concern is that the size of the configuration file (likely machine.config) will grow to a huge size and cause performance problems. Just wondering if anyone has come across this problem or if I am worrying about nothing.

Any feedback will be appreciated, thanks.