Upload
jimmorrison123
View
221
Download
0
Embed Size (px)
Citation preview
7/29/2019 Web Forms vs Mvc
1/20
7/29/2019 Web Forms vs Mvc
2/20
ASP.NET Web Forms vs. MVCChoosing the right one for web development
Harish Ranganathan
Senior Evangelist
Microsoft Corporation
7/29/2019 Web Forms vs Mvc
3/20
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
7/29/2019 Web Forms vs Mvc
4/20
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
7/29/2019 Web Forms vs Mvc
5/20
7/29/2019 Web Forms vs Mvc
6/20
ASP.NET 4 Web Forms
Easier to start, develop & deploy
Routing and Search Engine Optimization
Productivity and extensibility
Better Client Handling capabilities
7/29/2019 Web Forms vs Mvc
7/20
7/29/2019 Web Forms vs Mvc
8/20
ASP.NET MVC 3
Clear separation of concerns
Friendlier URLs
Patterns & Repositories
Cleaner HTML
7/29/2019 Web Forms vs Mvc
9/20
7/29/2019 Web Forms vs Mvc
10/20
Visual Studio 2010
.NET 4
Web Forms MVC
ASP.NET
Authentication Membership Data Providers
7/29/2019 Web Forms vs Mvc
11/20
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
7/29/2019 Web Forms vs Mvc
12/20
7/29/2019 Web Forms vs Mvc
13/20
Scenarios for Web Forms
Familiarity with Client Development
Lots of abstraction, automation
SharePoint runs on Web Forms
Mark up, Scripts, Browser differences handled
7/29/2019 Web Forms vs Mvc
14/20
Scenarios for MVC
Familiar for Web Developers
Finer control over mark up
Designed for patterns/respositories
Designed for friendly URLs
7/29/2019 Web Forms vs Mvc
15/20
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, theres lots more, also not covered here.
7/29/2019 Web Forms vs Mvc
16/20
Related Sessions
Whats new in MVC 3 Nerd Dinner - Today
MVC 3 Deep Dive 25th
March
jQuery and AJAX Control Toolkit - Today
7/29/2019 Web Forms vs Mvc
17/20
Resources
http://geekswithblogs.net/ranganh
@ranganh
http://geekswithblogs.net/ranganhhttp://ranganh/http://ranganh/http://geekswithblogs.net/ranganhhttp://geekswithblogs.net/ranganhhttp://geekswithblogs.net/ranganh7/29/2019 Web Forms vs Mvc
18/20
Announcement
Please fill out the feedback form
7/29/2019 Web Forms vs Mvc
19/20
Resources
Software Application Developers
http://msdn.microsoft.com/
Infrastructure Professionals
http://technet.microsoft.com/
msdnindia technetindia@msdnindia @technetindia
http://msdn.microsoft.com/http://technet.microsoft.com/http://facebook.com/msdnindiahttp://facebook.com/msdnindiahttp://facebook.com/msdnindiahttp://facebook.com/msdnindiahttp://facebook.com/msdnindiahttp://facebook.com/msdnindiahttp://facebook.com/msdnindiahttp://facebook.com/msdnindiahttp://facebook.com/msdnindiahttp://facebook.com/msdnindiahttp://facebook.com/msdnindiahttp://technet.microsoft.com/http://msdn.microsoft.com/7/29/2019 Web Forms vs Mvc
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 inthe 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.