Model Binding

In this chapter, we introduce you to model binding, one of the major additions to Web Forms in ASP.NET 4.5. Model binding simplifies the process of creating instances of the classes used to represent business objects in web applications and is a powerful tool for reducing errors and simplifying code-behind classes. It is closely related to data binding described in Chapter 35.

Preparing the Example Project

For this chapter, we created a new project called Bindingusing the Visual Studio ASP.NET Empty Web Application project template. We started by creating a folder called Models that is the conventional location for the ...

Get Pro ASP.NET 4.5 in VB, Fifth Edition 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.