I'm trying to implement client side validation in an MVC application and I was wondering if there is an easy way to do that? I saw a lot of forum posts about this topic, but they were all old so I decided to post a new one to see the latest news
Have a great day!
You still must base your rules on the
and transform these descriptions into client side rules.
If you can express all your rules as data annotation attributes (System.ComponentModel.DataAnnotations) then you can simplify this process.
Data annotations are honored by (executed by) CSLA, so they run on the server, in Windows Forms, WPF - every platform, even Android.
I've found a pretty straight forward tutorial on how to do this kind of stuff:
Copyright (c) Marimer LLC