Wednesday, 6 July 2016

Benefits of Choosing ASP.NET MVC Over Web Forms

Posted by : Manav Pandya

Compared to Web Forms, ASP.NET MVC applications benefit by including all ASP.NET core features but also by the 

features in the MVC pattern. Some of those benefits are

[ 1 ] The MVC pattern itself makes it easier to manage complexity by clearly separating the functionality of the application into three core parts, the model, the view, and the controller .


[ 2 ] ASP.NET MVC web applications do not use view state or server-based forms. This makes the MVC framework ideal for developers who want full control over the behavior of an application. 

View state can become very large, which is a problem for devices like smartphones running over slow networks (transmitting all that information can be very slow). In a Web Forms page, you could only have one <form> per page. This is quite a major restriction. In MVC, there is no such restriction—that is, you can have as many<form> elements as you like.

[ 3 ] ASP.NET MVC provides better support for test-driven development (TDD).

[ 4 ] ASP.NET MVC works well for web applications that are supported by large teams of developers
and for web designers who need a high degree of control over the HTML.