concept input model in category asp.net

appears as: The input model, input model, input model
ASP.NET MVC 2 in Action

This is an excerpt from Manning's book ASP.NET MVC 2 in Action.

The input model in listing 2.5 is a simple class with a focused job. It’s the surface area of user input—nothing more, nothing less.

Listing 2.7. Model binding form values to the input model
public ViewResult Save(NewCustomerInput input) { return View(input); }

2.4.2. Presenting the input model in a view

Views can be strongly typed by declaring the base type for the view as ViewPage<T>. In this case, T will be NewCustomerInput, which means that the ViewData.Model property will also be of type NewCustomerInput. We can craft the HTML form using the input model.

Listing 2.6. A view using the input model