Windows Forms Validation
The Windows Forms input validation model is probably not the most convenient one could think of. Some even consider it as completely broken.
Spring.NET comes up with its own validation framework which was designed based on completely different aspects:
- Allow validation of any object, whether it is UI control or a domain object
- Allow the same validation framework to be used in both Windows Forms and ASP.NET applications, as well as in the service layer (to validate parameters passed to the service, for example)
- Allow composition of the validation rules, so arbitrarly complex validation rule sets can be constructed
- Allow validators to be conditional, so they only execute if a specific condition is met
Spring.NET RichClient tries to pick up these guidelines and bring the strengths of the Spring.NET validation framework to the world of Windows Forms.
