Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a performance difference between asp.net mvc and web forms? [duplicate]

Possible Duplicate:
ASP.NET MVC Performance

I know there is a learning curve, but what about performance? It seems to me that web forms would be less performant, but I havent tried MVC yet to know for sure. What is everyone else experiencing?

like image 205
user29965 Avatar asked Oct 21 '08 13:10

user29965


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.

Which is better Web Forms or MVC?

More Control-The ASP.NET MVC framework provides more control over the HTML , JavaScript and CSS than the traditional Web Forms. Testability-ASP.NET MVC framework provides better testability of the Web Application and good support for the test driven development too.

When should you use .NET Web Forms Over 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.


2 Answers

This is almost a duplicate question. Here are some similar discussions:

ASP.NET MVC Performance

What are the key differences between ASP.NET webforms and MVC

Biggest advantage to using ASP.Net MVC vs web forms

like image 184
Kilhoffer Avatar answered Nov 07 '22 02:11

Kilhoffer


The thing about WebForms is that it's very easy to make a page that performs really bad, because it encourages you to do a lot of simple updates server-side that really should be done client-side. If you're paying attention to your postbacks and ViewState then WebForms isn't so bad. Also, MVC has the potential for better performance because it takes fewer steps during a page load, but realizing that potential can require a lot of discipline by the programmer, just like web forms.

like image 38
Joel Coehoorn Avatar answered Nov 07 '22 04:11

Joel Coehoorn