TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Asp.net WebForm VS Asp.net MVC
Chandradev Sah
Oct 03, 2014
6.8
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
This Blog describe to the difference between asp.net MVC and Asp.net Web Form.
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
It enables clean Separations of concerns using Model, view and Controller.
It enables full control over the rendered HTML.
It enables Test Driven Development (TDD).
Easy integration with JavaScript Framework.
SEO and Rest Friendly URL.
No Viewstate and Postback event.
Follows the stateless nature of web.
Extensible and pluggable framework.
Support third party view engine like Nvelocity, Brail, NHaml etc.
Page size is very less as compare to Asp.net
No page lifecycle like web form.
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
Learning curve will be more as compare to asp.net
It does not support rapid application development. So it will take more time to develop the application as compare to asp.net.
Development cost will be more.
If you will write more sensitive data in UI layer using java script there might be security problem.
It is not compplete Matured as Asp.net Web Form.
Advantages of asp.net
Provide rapid application development (RAD)
Provide rich control like Gridview, Datalist, Repeater controls etc.
Learning curve will be very less.
Familiar model for window form developers.
It is complete matured web technology.
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.
Asp.net WebForm VS Asp.net MVC
Next Recommended Reading
Creating Custom Password Validation Rules In ASP.NET MVC, Using ASP.NET Identity