Monday, August 2, 2010

ASP.NET MVC 3 Preview 1

Overview about what’s new in ASP.NET MVC 3.

Inclusion in IDE

  1. Selection of custom View Engine when adding Views
  2. Includes Microsoft's new RAZOR View Engine

mm...MVC 1.0/2.0 developers have more new things to learn!!! Below are some of them in this Preview.

Global Filters in Controller - days of handling errors through each methods attribute is gone
New Dynamic ViewModel Property - who knows microsoft might mention the ViewData as Obsolete or not a good practice soon!!!.. so, we need to check if there are any conversion tool available, to convert old project's viewdata to this wivew model
So far 3 new ActionResult Type in preview 1, which are related to HTTP Status.
a)HTTpNotFoundResult
b)HttpRedirectResult
c) HttpStatusCodeResult

Passing Object as Parameter. - This will automatically bind the incoming JSON post values to the .NET Product type on the server


There are Model Validation and Dependency Injection Improvements , which I am yet to analyze..

More details are available in ScottGu blog posting :- http://bit.ly/btdFOX

You can download ASP.NET MVC @ http://go.microsoft.com/fwlink/?LinkID=157073

No comments: