Hi I normally do 3 tier systems with the business logic in the middle layer as is fairly normal. One thing I've never really been happy with is validation on the presentation layer. For instance say I have a text box where users type in a date for e.g. Date of Birth, which maps onto a DOB property of type date. Where is the best place to validate it is a date. I'd like to do it in the BLL but I can't really do that because I need to convert it to a date and it might not parse. However doing some separate presentation layer validation seems messy. Is there a recommended way of doing this?
View Complete Post