ASP.NET Web Forms Meets ASP.NET MVC - Web Forms
(Page 2 of 4 )
Now, let's first recall and enumerate the main strong points that ASP.NET Web Forms gives us.
The Strong Points of ASP.NET Web Forms
In general, the Web Forms-based framework offers the following advantages:
(1) The Event Model
Web Forms supports an event model that preserves state over HTTP, which benefits line-of-business related web applications development. The Web Forms-based application provides dozens of events that are supported in hundreds of server controls. As you've seen, because the Windows Forms model stems from the typical event-driven desktop programming style, it facilitates millions of developers from the VB6 world.
(2) The Page Controller Pattern
Web Forms uses a Page Controller pattern that adds functionality to individual pages. As you've also seen, an ASP.NET page is divided into two parts: the .aspx itself, and the relevant CodeBehind .aspx.cs (or .aspx.vb) file, with the former acting as the front view and the latter as the controller (which resembles the View and the Controller in the ASP.NET MVC term). Similar to the controller in the MVC case, the CodeBehind .aspx.cs (or .aspx.vb) file plays the role of a broker (the controller) that schedules the .aspx view page and the back end business logic (which in turn attaches to the various database storage areas).
Next: More Strong Points >>
More ASP.NET Articles
More By Xianzhong Zhu