ASP.NET: Syncing client and server-side validation rules
Are there any easy, smart ways to keep your client and server-side validation-rules synchronized?
On the server-side we have ASP.NET WebForms or ASP.NET MVC.
What is validated are things like:
- Correct e-mail-addresses
- Correct home-addresses and postal codes
- Correct credit-card numbers
And so on.
You can try using Enterprise Library Validation with ASP.NET integration.