Monday, August 03, 2009

Asp.Net MVC 2 has been shipped ....Developer comments

Hi All,

Asp.Net MVC 2.0 has been shipped, some features have been improved and other new ones, From the first reading for the new things and the improved features, here is the features that i like:

1) You can write Lambda Expression in the View.......Very Cool feature in your code will be like this ; c is a customer model

HTML.LabelFor(c=> c.CustomerAddress)

2) Areas: MVC 2.0 project support new concept which is Areas, you can divide your solution as Areas. Suppose you are building MVC 2.0 website, and this website contains Home,Forums and Support. each module in this website will be an area in your project with all related files.


3) Strong typed in the view : in the view you can use the intellisense to explore the model fields..........very important and most annoying thing while developing projects in MVC 1.0.

Read more about the product version:



Hope my comments help.



Regards,
Mostafa arafa

No comments: