Every registration supports local education. TrainUp Gives Back

Your Career Training Marketplace

Questions? Call Toll-Free: 1-866-540-9677

  • Instant Access ImageInstant Access
    From Anywhere
  • Unlimited Viewing ImageUnlimited
  • calendar Image 6-12 Months
    To Complete


A JavaScript single page application, or SPA, uses a combination of JavaScript libraries and web development frameworks to communicate with the server, consume and manage data, and to display application views on screen. A SPA serves up a single HTML page in which all of the application views are rendered on the client, and data that is retrieved from the server can be cached and efficiently managed on the client. In this course, you will learn how to implement custom data validation rules on the client and server, how to use Breeze validation, how to gather Breeze entity errors, how to parse Breeze entity error messages on the client, and how to display validation errors to the user in a JavaScript SPA in Visual Studio 2013.

Learning Objectives
  • Start the course
  • Define a custom validation rule
  • Use the Breeze Validator.register() method to register custom validation rules with Breeze
  • Apply a validator to entities and properties
  • Add data annotations such as required fields and max length
  • Create a view for displaying input validation errors on text input controls
  • Use the errors.entitiesWithErrors.map() function and the entity.entityAspect.getValidationErrors() method
  • Use a regular expression to parse the returned error object
  • Use Custom Validation Rules and Report Validation Errors
  • Audience

Get the latest industry news, recommended courses, & promotions from TrainUp.com sent straight to your inbox.