mvc-3 vs webform

13

Click here to load reader

Upload: jitendra-soni

Post on 01-Jun-2015

408 views

Category:

Technology


2 download

DESCRIPTION

Presentation to help you evaluate MVC-3 and WebForm for you web development need

TRANSCRIPT

Page 1: MVC-3 Vs Webform

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

Page 2: MVC-3 Vs Webform

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

Page 3: MVC-3 Vs Webform

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

Page 4: MVC-3 Vs Webform

ASP.NET 4 Web Forms

Easier to start, develop & deploy

Routing and Search Engine Optimization

Productivity and extensibility

Better Client Handling capabilities

Page 5: MVC-3 Vs Webform

ASP.NET MVC 3

Clear separation of concerns

Friendlier URLs

Patterns & Repositories

Cleaner HTML

Page 6: MVC-3 Vs Webform

Visual Studio 2010

.NET 4

Web Forms MVC

ASP.NET

Authentication

MembershipData

Providers

Page 7: MVC-3 Vs Webform
Page 8: MVC-3 Vs Webform

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

Page 9: MVC-3 Vs Webform

Scenarios for Web Forms

Familiarity with Client Development

Lots of abstraction, automation

SharePoint runs on Web Forms

Mark up, Scripts, Browser differences handled

Page 10: MVC-3 Vs Webform

Scenarios for MVC

Familiar for Web Developers

Finer control over mark up

Designed for patterns/respositories

Designed for friendly URLs

Page 11: MVC-3 Vs Webform

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

Summary

Page 12: MVC-3 Vs Webform

1) MVC 3 application in VS 20102) NPD Application

Page 13: MVC-3 Vs Webform

So, which one to select?

Announcement