griegs
griegs

Reputation: 22770

ASP.NET-MVC 2 RC Best Features

I've been working with MVC 1 for some time now and have decided to finally give MVC 2 a shot.

My question is, for those who have been using 2 for some time what are the features or areas I should be looking at first?

I know there's a bunch of new stuff in there but would like to target my learning to specific areas rather than go looking myself for a couple of weeks.

I realise this is kinda lazy but I have tight deadlines here at work.

Upvotes: 5

Views: 1109

Answers (5)

Jason
Jason

Reputation: 2741

Areas!!!

Using areas in a new publication CMS system to keep the admin controller/views seperate from the regular front end of the site.

The strongly typed helpers is good too. (See @womp's answer)

Scot Gu's Blog Post on MVC 2

Upvotes: 1

womp
womp

Reputation: 116987

XVal style validation attributes that can automatically generate corresponding client side validators.

Upvotes: 2

Robert Harvey
Robert Harvey

Reputation: 180948

Single-project areas.

Provides a way to conceptually separate a large web application into logical "areas" while maintaining the integrity of a single web application.

Upvotes: 1

womp
womp

Reputation: 116987

Strongly type Html Helpers.

No more "magic strings" to pass a property name into a helper means more compile time checking, less wasted time debugging.

Upvotes: 3

M4N
M4N

Reputation: 96626

Have a look at Scott Guthries blog to get some ideas of the new things.

Upvotes: 3

Related Questions