Validation Guidance Bundle

Cannot resolve release macro, invalid id.
Click here to see the documentation


What's the value of this guidance?

Addresses how to improve UI responsiveness for validation:
  • Validating data server-side with ASP.NET validators
  • Reusing property and entity business validation logic across screens, layers, and applications
  • Guideliness for implementing validation and improving security

What is the concept?

Within a traditional web application, data that is entered into a web page needs to be validated. This validation can take several forms including business rules validation, schema validation (length, range, format, type etc.), and malicious data filtering (SQL Injection, Cross-site scripting, etc.). Additionally this validation can be performed in multiple locations including on the client, on the server, or on both. In some scenarios these validations need to be reused throughout the application.

In an AJAX style application, there is an additional need to allow server side validation to be accessible from the browser in order to provide a more responsive user experience.

ValidationBundleImage.png

ASP.NET Validators allow you to invoke validation rules that execute code on the client with Javascript and on the server when the page is submitted. The ServerSideValidationExtender control included in this bundle allows server side ASP.NET Validators to be invoked from the client without requiring the page to be submitted, this is known as partial-postback. This extender can also be combined with the Property Proxy Validator included with the Enterprise Library Validation Application Block (VAB). This allows invoking VABValidators on the server without requiring the page to be submitted.

For more information, click here to see the Validation Bundle FAQ

What are some scenarios to consider using the guidance in this bundle for?

  • Improving UI responsiveness while reusing entity business validation logic across screens when performing validations such as:
    • Length of Employee name.
    • Employee’s email.
    • Order number is unique.
    • Order is complete.
  • Improving UI responsiveness for applications utilizing Server-Side ASP.NET validators.
  • Determining what type of validation to use for improving responsiveness and security.

Who should use this bundle?

This bundle is for Developers and Architects who are interested in improving the UI Responsiveness of validation in their Line-Of-Business ASP.NET Web applications.

What is in the bundle?

  • Validation QuickStart: source code to demonstrate how to improve UI responsiveness for validation and reuse of validation rules across pages.
  • Validation Application Block from Enterprise Library 3.1: Validation Application Block binary.
  • AJAXControlToolkit.WCSFExtensions.dll: Contains the ServerSideValidationExtender which invokes ASP.NET validators including the Enterprise Library PropertyProxyValidator via AJAX
  • Acceptance Tests: Manual tests that can be executed to walk you through the Quickstart functionality.
  • Documentation: Documentation explaining Validation Guidelines (Security, Schema, and so on) the Quickstart, and how to use the extender.

What needs to be installed?

.NET Framework 3.5 Bundle

.NET Framework 2.0 Bundle

Installation

.NET Framework 3.5 Bundle

  1. Install all prerequisites for the bundle.
  2. Execute the bundle installer.
  3. Read and accept the EULA.
  4. Specify the destination folder.
  5. Copy the AjaxControlToolkit.dll assembly to %bundle destination folder%\Lib\AjaxControlToolkit3.5.

.NET Framework 2.0 Bundle

  1. Install all of the prerequisites for the bundle.
  2. Execute the bundle installer.
  3. Read and accept the EULA.
  4. Specify the destination folder.
  5. Copy the AjaxControlToolkit.dll assembly to %bundle destination folder%\Lib\AjaxControlToolkit.

Known issues

Click here to be taken to the list of known issues

Related content

Last edited Jun 17, 2008 at 8:23 PM by jonathan, version 17

Comments

No comments yet.