Working With Validation

Visual Studio 2013    |    Intermediate
  • 7 videos | 1h 9m 22s
  • Earns a Badge
Rating 4.7 of 3 users Rating 4.7 of 3 users (3)
Learn how to implement custom data validation rules on the client and server, use Breeze validation, gather Breeze entity errors, parse Breeze entity error messages on the client, and display validation errors in a JavaScript SPA.

WHAT YOU WILL LEARN

  • 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

IN THIS COURSE

  • 9m 11s
    In this video, you will learn how to create a custom validation rule. FREE ACCESS
  • 9m 8s
    During this video, you will learn how to use the Breeze Validator.register() method to register custom validation rules with Breeze. FREE ACCESS
  • Locked
    3.  Applying Custom Validation Rules on the Client
    9m 54s
    In this video, you will learn how to apply a validator to entities and properties. FREE ACCESS
  • Locked
    4.  Applying Data Annotations on the Server
    10m 17s
    Learn how to add data annotations such as required fields and maximum length. FREE ACCESS
  • Locked
    5.  Notifying the User of Input Validation Errors
    9m 46s
    In this video, you will create a view for displaying input validation errors on text input controls. FREE ACCESS
  • Locked
    6.  Gathering Breeze Entity Errors
    9m 55s
    In this video, learn how to use the map() function on the errors.entitiesWithErrors array and the getValidationErrors() method on the entity.entityAspect object. FREE ACCESS
  • Locked
    7.  Parsing Validation Error Messages on the Client
    11m 11s
    Learn how to use a regular expression to parse the error object that is returned. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.6 of 52 users Rating 4.6 of 52 users (52)
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)