views:

220

answers:

1

Two of the biggest advantages of MVC over webforms were non-existent viewstate and URL routing. VS2010 and .NET 4.0 incorporates built-in URL routing for Webforms as well as better control for viewstate.

I advocate use of MVC for extranet sites due to the MVC design pattern and its general lightweight nature but in light of this new announcement has Webforms closed the gap? Why would you still pick MVC over Webforms?

Thanks

+4  A: 

You're forgetting about 2 main advantages of MVC: better control over generated HTML and better support for test-driven development.

I'd say that normally implementing a site using ASP.NET WebForms would require less effort that implementing exactly the same with MVC.

MVC gives you more control, but it also requires more expertise and effort.

Claudio Redi