asp.net web forms vs. mvc choosing the right one for web development harish ranganathan senior...
TRANSCRIPT
ASP.NET Web Forms vs. MVC Choosing the right one for web
development
Harish RanganathanSenior EvangelistMicrosoft Corporation
Agenda
• Quick look into Visual Studio 2010 SP1
• ASP.NET 4 Web Forms• MVC 3 with Razor• Using Web Forms and MVC together• Scenarios for usage
New in SP1 for Web Developers
IIS Express for Visual Studio 2010
SQL Compact Edition Tooling support
Support for HTML5 tags
Web Deployment Tool 2.0
ASP.NET 4 Web Forms
Easier to start, develop & deploy
Routing and Search Engine Optimization
Productivity and extensibility
Better Client Handling capabilities
Web Forms + MVC
Ease of adoption in existing projects
Pages where finer markup control is needed
No from the scratch work
Best of both worlds
Scenarios for Web Forms
Familiarity with Client Development
Lots of abstraction, automation
SharePoint runs on Web Forms
Mark up, Scripts, Browser differences handled
Scenarios for MVC
Familiar for Web Developers
Finer control over mark up
Designed for patterns/respositories
Designed for friendly URLs
Summary
• Download visual Studio 2010 SP1• Use IIS Express / SQL CE as applicable for
Development• Both Web Forms & MVC continue to exist!– Not one size fits all– Where cleaner markup / finer control => MVC– Where rapid development => Web Forms
• Web Forms and MVC can be used together• Choice is always good
• And, there’s lots more, also not covered here.
Related Sessions
What’s new in MVC 3 “Nerd Dinner” - Today
MVC 3 Deep Dive – 25th March
jQuery and AJAX Control Toolkit - Today
Resources
• http://geekswithblogs.net/ranganh
• Twitter: @ranganh
ResourcesSoftware Application
Developers
http://msdn.microsoft.com/
Infrastructure Professionals
http://technet.microsoft.com/
msdnindia technetindia @msdnindia @technetindia
© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and
Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.