Tag: ADVANTAGE DISADVANTAGE
Asp.net MVC vs WebForms -Advantage disadvantage
by chintan prajapati on Nov.27, 2008, under ASP.net
Asp.net MVC seems very easy but it’s not because we are used to Webforms.. MVC’s got lots of advantage over Normal Webform style.
- does Postback (which adds unnecessary more than 20 kb of javascript )
- has Viewstate (performance issue)
- has to go through whole page life cycle
- Uses Event based model
which are stuffs built by microsoft guys to simplify development for VB 6 User which are really not required to make a great site, although i appreciate those thing because it helps in rapid development.
Where As Asp.net MVC is
- RESTful architecture
- Doesn’t Compromise with Performance and flexibility
- Search Engine Friendly
- Provides full control over application
drowback of RESTful architecture of ASP.net MVC
- Any public method in a controller is exposed as a controller action. You need to be careful about this. This means that any public method contained in a controller can be invoked by anyone with access to the Internet by entering the right URL into a browser. e.g. wwwxyz.com/shop/delete/10 will delete shop with ID 10.
Here are few KB articles & resources that you should not miss
http://en.wikipedia.org/wiki/ASP.NET_MVC_Framework
http://en.wikipedia.org/wiki/Representational_State_Transfer
http://www.asp.net/learn/mvc-videos/
More detail on REST http://www.xfront.com/REST-Web-Services.html
How REST works? -> http://www.intertwingly.net/wiki/pie/RestAspNetExample
Download beta MVC framework http://www.microsoft.com/downloads/details.aspx?FamilyId=A24D1E00-CD35-4F66-BAA0-2362BDDE0766&displaylang=en
Feel free to comment if any doubt

![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=15428a2c-c1e3-43a5-8bee-4aec2175ed3d)