Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET MVC vs WebForms: speed and architecture comparison [closed]

I had an argument with one of my friends who is an architect at a pretty large internet company. Basically he was saying that ASP.NET MVC is not for large-scale enterprise applications, that it is not as flexible as WebForms, and that an MVC app will be slower than a web forms app.

From my own experience working with MVC, I can say that it is more flexible and it is lighter weight because there is no page life cycle, viewstate, etc.. It should thus load faster at the very least. As far as I know, MVC is designed for medium to large scale traffic.

What do you guys think? Has anyone compared speed and performance? And is ASP.NET MVC better for large scale apps than ASP.NET WebForms?

In short, between these two choices, which would you choose to use for a large scale enterprise application?

like image 564
Sergey Avatar asked Jun 23 '09 22:06

Sergey


People also ask

Is MVC faster than Web Forms?

Show activity on this post. My completely unscientific opinion: Yes; ASP.NET MVC is faster than web forms. ASP.NET MVC gives screen pops on the order of 1 to 2 seconds. Web forms is more like 3 to 5 seconds.

What is difference between asp net webform and ASP.NET MVC?

Asp.Net Web Form has built-in data controls and best for rapid development with powerful data access. Asp.Net MVC is lightweight, provide full control over markup and support many features that allow fast & agile development. Hence it is best for developing an interactive web application with the latest web standards.

Is ASP.NET Web Forms dead?

Does this mean ASP.NET Web Forms is dead and should no longer be used? Of course not! As long as the . NET Framework ships as part of Windows, ASP.NET Web Forms will be a supported framework.

Which is better Web Forms or MVC?

Advantages of MVC Over Webforms Better Control over Design: MVC has dropped concept of server controls and instead use HTML controls or HTML helpers to generate HTML controls. This gives developers better control over HTML and page design. Design time and run time variations are very few as compared to webforms.


1 Answers

  • Development Speed: WebForms
  • Performance Speed: MVC
  • Ease of Use: WebForms (Typically)
  • Unit Testing: MVC (Typically)
like image 60
Spencer Ruport Avatar answered Sep 28 '22 18:09

Spencer Ruport