1 / 20

ASP.NET Web Forms vs. MVC Choosing the right one for web development

ASP.NET Web Forms vs. MVC Choosing the right one for web development. Harish Ranganathan Senior Evangelist Microsoft 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.

maeve
Download Presentation

ASP.NET Web Forms vs. MVC Choosing the right one for web development

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ASP.NET Web Forms vs. MVC Choosing the right one for web development Harish Ranganathan Senior Evangelist Microsoft Corporation

  2. 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

  3. New in SP1 for Web Developers IIS Express for Visual Studio 2010 SQL Compact Edition Tooling support Web Deployment Tool 2.0 Support for HTML5 tags 

  4. demo Visual Studio 2010 SP1 for Web Developers

  5. ASP.NET 4 Web Forms Easier to start, develop & deploy Routing and Search Engine Optimization Better Client Handling capabilities Productivity and extensibility

  6. demo ASP.NET 4 Web Forms

  7. ASP.NET MVC 3 Clear separation of concerns Friendlier URLs Cleaner HTML Patterns & Repositories

  8. demo ASP.NET MVC 3

  9. Visual Studio 2010 .NET 4 MVC Web Forms Authentication Membership Data Providers ASP.NET

  10. Web Forms + MVC Ease of adoption in existing projects Pages where finer markup control is needed Best of both worlds No from the scratch work

  11. demo Web Forms + MVC

  12. Scenarios for Web Forms Familiarity with Client Development Lots of abstraction, automation Mark up, Scripts, Browser differences handled SharePoint runs on Web Forms

  13. Scenarios for MVC Familiar for Web Developers Finer control over mark up Designed for friendly URLs Designed for patterns/respositories

  14. 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.

  15. Related Sessions What’s new in MVC 3 “Nerd Dinner” - Today MVC 3 Deep Dive – 25th March jQuery and AJAX Control Toolkit - Today

  16. Resources • http://geekswithblogs.net/ranganh • Twitter: @ranganh

  17. Announcement Please fill out the feedback form

  18. Resources Software Application Developers Infrastructure Professionals http://technet.microsoft.com/ http://msdn.microsoft.com/ technetindia msdnindia @technetindia @msdnindia

  19. © 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.

More Related