Asp.net WebForm VS Asp.net MVC

One of the general questions to be asked in interview, why should i use asp.net mvc instead of asp.net. or
what are the difference between asp.net MVC VS Asp.net Web Form?

Then you should have to compare the both:

Advantage of Asp.net MVC
  1. It enables clean Separations of concerns using Model, view and Controller.
  2. It enables full control over the rendered HTML.
  3. It enables Test Driven Development (TDD).
  4. Easy integration with JavaScript Framework.
  5. SEO and Rest Friendly URL.
  6. No Viewstate and Postback event.
  7. Follows the stateless nature of web.
  8. Extensible and pluggable framework.
  9. Support third party view engine like Nvelocity, Brail, NHaml etc.
  10. Page size is very less as compare to Asp.net
  11. No page lifecycle like web form.
  12. It has been built on top of asp.net framework hence most of the features of asp.net like Membership providers, role etc can still be used in asp.net MVC application.
Disadvantages of Asp.net MVC
  1. Learning curve will be more as compare to asp.net
  2. It does not support rapid application development. So it will take more time to develop the application as compare to asp.net.
  3. Development cost will be more.
  4. If you will write more sensitive data in UI layer using java script there might be security problem.
  5. It is not compplete Matured as Asp.net Web Form.
Advantages of asp.net
  1. Provide rapid application development (RAD)
  2. Provide rich control like Gridview, Datalist, Repeater controls etc.
  3. Learning curve will be very less.
  4. Familiar model for window form developers.
  5. It is complete matured web technology.
  6. In Asp.net Vnext  lots  of amazing feature are coming. You can read more here:
    http://www.hanselman.com/blog/IntroducingASPNETVNext.aspx
Summary

There are no drawback in both technology. Platform will never make the application faster and slow.  Good developer will always make good application. Using asp.net also we can develop very efficient and scalable application. It's all depend on developer, how to use the technology. Almost all new feature of asp.net MVC can be used in Asp.net project.
Ebook Download
View all
Learn
View all