Asp net mvc 2.0

A controller handles interactions and updates the model to reflect a change in state of the application, and then passes information to the view. In nontrivial applications, it is not appropriate to send a Customer or Product object directly to the view. It is not a good place to be when you are two versions behind current. The errors in the first chapter are very frustrating. This view model is just for display purposes and has two properties as shown in Listing 2.