(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

The Validation Story in Silverlight


(3 votes)
author   Gill Cleeren  /   released on   Jul 26, 2011
Tags:   validation , line-of-business , ebooks , gill-cleeren
Categories:   SilverlightShow Ebooks , Line-of-Business

Product Description

This e-book collects the 2 parts of SilverlightShow article series 'The Validation Story in Silverlight', together with source code.

If one feature is important when it comes to building line-of-business applications, it certainly is validation of business rules. At all levels throughout the application, we need to validate that the data that is entered by the users to verify that it meets the requirements. Some basic validation can be done by the database itself, but most (and in many cases, all) data that it trying to make its way to the database should be validated up front in order not to end up with corrupted data within the data store.


The validation story in Silverlight up until version 4 was somewhat lacking in features. While Silverlight 3 had some options available, they were not really enough for real-world applications. That changed with Silverlight 4, mainly because of the introduction of 2 new interfaces, namely the IDataErrorInfo and the INotifyDataErrorInfo. The first one may sound familiar as it already exists for WinForms validation. The latter will be helpful in situations where we need to perform calls to the server and return asynchronous validation results.

Chapter 1
Overview of the validation options in Silverlight 4
Silverlight 3 validation options
Adding attributes
Custom rules
Summarizing all errors with the ValidationSummary

Chapter 2
Hello IDataErrorInfo
The INotifyDataErrorInfo interface
Customizing the error display

About the author:
Gill Cleeren is Microsoft Regional Director (www.theregion.com), Silverlight MVP (former ASP.NET MVP), INETA speaker bureau member and Silverlight Insider. He lives in Belgium where he works as .NET architect at Ordina. Passionate about .NET, he’s always playing with the newest bits. In his role as Regional Director, Gill has given many sessions, webcasts and trainings on new as well as existing technologies, such as Silverlight, ASP.NET and WPF at conferences including TechEd Berlin 2010, TechDays Belgium, DevDays NL, NDC Oslo Norway, SQL Server Saturday Switserland, Spring Conference UK, Silverlight Roadshow in Sweden and others. He’s also the author of many articles in various developer magazines and for SilverlightShow.net (check Gill's articles for SilverlightShow). He organizes the yearly Community Day event in Belgium.

He also leads Visug (www.visug.be), the largest .NET user group in Belgium. Gill recently published his first book: “Silverlight 4 Data and Services Cookbook” (Packt Publishing). You can find his blog at www.snowball.be. Gill tweets from @gillcleeren.

Buy from:
Purchase from SilverlightShow Ebook store