Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

ASP.NET Web Forms vs. MVC

  • Login to see the comments

  • Be the first to like this

ASP.NET Web Forms vs. MVC

  1. 1.
  2. 2. ASP.NET Web Forms vs. MVC Choosing the right one for web development<br />Harish Ranganathan<br />Senior Evangelist<br />Microsoft Corporation<br />
  3. 3. Agenda<br />Quick look into Visual Studio 2010 SP1<br />ASP.NET 4 Web Forms<br />MVC 3 with Razor<br />Using Web Forms and MVC together<br />Scenarios for usage<br />
  4. 4. New in SP1 for Web Developers<br />IIS Express for Visual Studio 2010<br />SQL Compact Edition Tooling support<br />Web Deployment Tool 2.0<br />Support for HTML5 tags <br />
  5. 5. Visual Studio 2010 SP1 for Web Developers<br />demo <br />
  6. 6. ASP.NET 4 Web Forms<br />Easier to start, develop & deploy<br />Routing and Search Engine Optimization<br />Better Client Handling capabilities<br />Productivity and extensibility<br />
  7. 7. ASP.NET 4 Web Forms<br />demo <br />
  8. 8. ASP.NET MVC 3<br />Clear separation of concerns<br />Friendlier URLs<br />Cleaner HTML<br />Patterns & Repositories<br />
  9. 9. ASP.NET MVC 3<br />demo <br />
  10. 10. Visual Studio 2010<br />.NET 4<br />MVC<br />Web Forms<br />Authentication<br />Membership<br />Data Providers<br />ASP.NET<br />
  11. 11. Web Forms + MVC<br />Ease of adoption in existing projects<br />Pages where finer markup control is needed<br />Best of both worlds<br />No from the scratch work<br />
  12. 12. Web Forms + MVC<br />demo <br />
  13. 13. Scenarios for Web Forms<br />Familiarity with Client Development<br />Lots of abstraction, automation<br />Mark up, Scripts, Browser differences handled<br />SharePoint runs on Web Forms<br />
  14. 14. Scenarios for MVC<br />Familiar for Web Developers<br />Finer control over mark up<br />Designed for friendly URLs<br />Designed for patterns/respositories<br />
  15. 15. Summary<br />Download visual Studio 2010 SP1<br />Use IIS Express / SQL CE as applicable for Development<br />Both Web Forms & MVC continue to exist!<br />Not one size fits all<br />Where cleaner markup / finer control => MVC<br />Where rapid development => Web Forms<br />Web Forms and MVC can be used together<br />Choice is always good <br />And, there’s lots more, also not covered here.<br />
  16. 16. Related Sessions<br />What’s new in MVC 3 “Nerd Dinner” - Today<br />MVC 3 Deep Dive – 25th March<br />jQuery and AJAX Control Toolkit - Today<br />
  17. 17. Resources<br /><br />Twitter: @ranganh<br />
  18. 18. Announcement<br />Please fill out the feedback form<br />
  19. 19. Resources<br />Software Application Developers<br /><br />Infrastructure Professionals<br /><br />technetindia<br /> msdnindia<br />@technetindia<br />@msdnindia<br />
  20. 20. © 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.<br />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.<br />