Skip to Content
Pro ASP.NET 4.5 in C#, Fifth Edition
book

Pro ASP.NET 4.5 in C#, Fifth Edition

by Adam Freeman, Matthew MacDonald, Mario Szpuszta
July 2013
Intermediate to advanced content levelIntermediate to advanced
1228 pages
34h 1m
English
Apress
Content preview from Pro ASP.NET 4.5 in C#, Fifth Edition

CHAPTER 34

image

Model Binding

In this chapter, we introduce 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, which we describe in Chapter 35.

Preparing the Example Project

For this chapter, we have created a new project called Binding using the Visual Studio ASP.NET Empty Web Application project template. We started by creating a folder called Models; as we described in Chapter 6, that ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning ASP.NET 4.5 in C#

Beginning ASP.NET 4.5 in C#

Matthew MacDonald
Pro C# 7: With .NET and .NET Core

Pro C# 7: With .NET and .NET Core

Andrew Troelsen, Philip Japikse

Publisher Resources

ISBN: 9781430242543Purchase book