ASP.NET-MVC 2 RC Best Features

前端 未结 5 1811
暖寄归人
暖寄归人 2020-12-18 07:03

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

相关标签:
5条回答
  • 2020-12-18 07:43

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

    0 讨论(0)
  • 2020-12-18 07:43

    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

    0 讨论(0)
  • 2020-12-18 07:55

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

    0 讨论(0)
  • 2020-12-18 07:58

    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.

    0 讨论(0)
  • 2020-12-18 07:59

    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.

    0 讨论(0)
提交回复
热议问题