Are there any easy, smart ways to keep your client and server-side validation-rules synchronized?
On the client side we have JavaScript, maybe some kind of framework like jQuery or YUI.
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.