DDD & client-side validation
Suppose you have an application that utilizes the domain-model pattern, DDD and lots of other design patterns. assume that we have a number of solutions as listed below: Solution.Model Solution.Repository Solution.Services Solution.Presentation Solution.UI.Web The user experience layer will be Solution.UI.Web and we'll assume that it'll be an ASP.NET WebForms application. how do you enforce client-side validation? There are a number of things to be considered: First and foremost, we shouldn't have to hit the application/database server(s) to return any validation errors to the client, we could