Register now or log in to join your professional community.
MVC design pattern is better then asp.net web form. Justify with example.
Both have their own pros and cons and flavours. MVC is not the replacement of Webforms.
1) In terms of development speed, which would be faster: webforms or mvc?
WebForms is faster to develop because it's a lot of R.A.D. development.Using ViewState and strong server controls, developer can develop real world applications with minimal HTML and JavaScript skills.
At the other end MVC is time consuming you need to choose it if you are working on really big project/product the expertise you need is you should be expert in HTML, CSS, XML and you should be very good in Client Side Scripting like JavaScript (these are the very important thing you need to know about web technology).And then, you should know about MVC Pattern (supposed you know basic about ASP.NET) You can lookup more closely the MVC Pattern in any Design Pattern Books to understand how it works.
How about out-of-box performance between the two?
MVC will perform better in big projects since there is no "extras" being passed between the controller and the View. you only pass what's necessary (IE: no ViewState)
MVC is not better than web forms nor web forms is better than MVC. It always depends on what you're doing!
ASP.NET MVC:
its totally depend on what u need but there is some advantages for MVC over Webform for example there is no view state , you can use more than form ,...etc these all advantages in MVC over Webform
I prefer MVC on web forms. Though it depends on your need.
You can find the answer from these two link:
1. http://www.seguetech.com/blog/2013/12/05/dotnet-web-forms-vs-mvc-which-better
2. http://weblogs.asp.net/ricardoperes/my-view-on-asp-net-web-forms-versus-mvc
keep going. Thanks.
It's well explained and discussed @ http://www.codeproject.com/Articles/528117/WebForms-vs-MVC
MVC is helpful in reducing the problems associated with ASP.net and the problems with ASP.net are these websites are non-testable and takes more access time than other websites which are developed in other technolgy.