Demonstration on MVC Advantage

Posted by Vasanthmvp under ASP.NET on 11/29/2012 | Points: 10 | Views : 1032 | Status : [Member] | Replies : 3
Hi,
MVC doesn't use ViewState or Server-Based Forms. Can anyone illustrate me on this.
Also, How is this functionality different from Web-Forms based application. I need a Comparision.
NO LINKS PLZ.

Regards & Thanks,

Awesome Coding !! :)


Responses

Posted by: aswinialuri-19361 on: 11/29/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

ASP.NET MVC 2 Framwork is released as a part of Visual Studio 2010 and .NET Framework 4. Now it even has better model and standards than the previous version. If you want to build your applications around MVC amework, here are some pros and cons.

Here are the main advantages of building your applications using MVC framework.
MVC Framework is built upon a proven MVC design-pattern. Hence, this is not a new born baby.
One of the biggest problem in ASP.NET is HTML size of controls and view state. View state stores all the data rendered and final HTML gets too large. If you are on a slow internet connection, you will notice load time delays. This has been taken care in MVC framework. There is no view state concept in MVC framework.
Client chaching is availalbe now with the help of Silverlight. By integrating Silverlight, we can take advantage of it. That makes applications load faster and some of the processing can be done in web browsers.Not only the client site but the server side execution is faster too. JQuery integration with MVC makes it even better and now we can write our code that runs in the browser and takes away load from the server.
Support mutliple views
Support unit testing as a part of Visual Studio 2008 and 2010.


Thanks & Regards
Aswini Aluri


Mark as Answer if it helps you
Thanks&Regards
Aswini Aluri

Vasanthmvp, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vasanthmvp on: 11/29/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,
What is the remedy that we follow if in need of View State data using MVC.
Without using Silverlight for client caching,How is this handled.

Thanks & Regards,

Awesome Coding !! :)

Vasanthmvp, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Oswaldlily on: 11/29/2012 [Member] Starter | Points: 25

Up
0
Down
Why do we say viewstate creates problem in asp.net??

Vasanthmvp, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response