Advantages of the ASP.NET MVC Approach - Framework continued
(Page 2 of 4 )
The ASP.NET MVC framework maps URLs to server code differently from a typical ASP.NET web site. Instead of mapping URLs to ASP.NET pages or handlers, the framework maps URLs to controller classes.
Controller classes, then, handle incoming requests, such as user input and interactions, and execute appropriate application and data logic, based on user input. (ASP.NET MVC controllers implement a pattern known as the Front Controller pattern). A controller class typically calls a separate view component that generates HTML output as the response.
Moreover, note that, by default, each set of components is in a separate folder of an MVC Web application project.
Next, let’s start to delve into what advantages the MVC framework can give us.
Advantages of the ASP.NET MVC framework
The ASP.NET MVC framework is essentially Microsoft's attempt to create an ASP.NET programming environment centered on the MVC pattern.
To some extent, the MVC framework and ASP.NET Web Forms have in common more or less what cars and motorcycles share. That is, they'll both get you to where you want to go, but they'll do so in somewhat different ways.
Next, let’s see the first feature (also the advantage) that the MVC framework gives us.
Next: The First Advantage >>
More ASP.NET Articles
More By Xianzhong Zhu