Tuesday, June 21, 2011

ASP.NET MVC at a Glance

A simple way to understand ASP.NET MVC.


Controllers: Classes that handle incoming requests to the application, retrieve model data, and then specify view templates that return a response to the client.
Models: Classes that represent the data of the application and that use validation logic to enforce business rules for that data.
Views: Template files that your application uses to dynamically generate HTML responses