ONE of the annoying aspects with traditional ASP.Net development was that validation logic which seemed well fitted to be in the mid-tier would often be replicated into the UI-tier. One does this to provide instant feedback to application users; increasing user experience and the application’s usability. The drawback is of course the doubling up of this logic. No only that, but quite often you would have the duplication of logic across different languages; for example mid-tier validation would be coded in C# whereas UI-tier validation would be coded in Javascript – causing a myriad of headaches with code maintenance.

So along comes WCF RIA Services and its validation framework. In this article I’ll provide details on how WCF RIA Services approachs validation; and how it has been designed to resolve issues of its predecessors..

(continue reading…)