I've recently added Breeze to a project using Knockout and ASP.NET MVC4. I really like Breeze and it saves a lot of coding.
I have used Knockout validation and like how it validates a property field text box on data entry and the way the error message is displayed.
I would like to use a combination where the validation requirements are defined in the back-end with C# attributes on the object properties, the validation requirements are received in the metadata and then Knockout validation can be used.
I think I can work around it by defining the properties in the front end and applying Knockout validation eg
classProperty.extend({ required: true }) .extend({ minLength: 3 });
Is there a way to use Knockout validation without having to apply the validation requirements in the front-end? If not, are you considering doing this?
This question was posted by johnvarney on our IdeaBlade forums. I am reposting the question and answer here since I think it will be useful to the Breeze Stack Overflow community.