Chapter 10. Case Study: Generating Validation Code

ASP.NET provides a range of validation controls, but noticeable by its absence is a control that validates data by checking it against a value in a table. This case study uses code generation in combination with an ASP.NET validation control to fill that gap. At the end of this chapter, I also use some of the project-specific objects described ...

Get Practical Code Generation in .NET: Covering Visual Studio 2005, 2008, and 2010 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.