Share via

The Validation Application Block

Any application that accepts input either from users or from other systems must ensure that the information is valid in terms of some set of rules that you specify. For example, when processing an order, you may need to check that a customer's phone number has the correct number of digits or that a date falls within a particular range. In addition, if the validation fails, you may need to send an error message that explains what is wrong.

The Enterprise Library Validation Application Block provides useful features that allow developers to implement structured and easy-to-maintain validation scenarios in their applications. In addition, the Validation Application Block includes adapters that allow you to use the application block with the following technologies:

  • Windows® Communication Foundation (WCF)
  • Windows Presentation Foundation (WPF)
  • Windows Forms

This section includes the following topics that will help you to understand and use the Validation Application Block:

More Information

For related information, see the following patterns & practices guides: