So by now, you've probably heard of this thing called "ASP.NET MVC." A little more than a year ago I first mentioned it on this blog, and then about 6 months ago I introduced you to MVC Preview 3. Now we have official word from "The Gu" himself that the MVC release candidate will be shipping in 3 - 6 weeks time. When it does ship, we should be seeing bits that are feature complete with no known bugs, and pending a short "reality check" period, the final bits should be shipping shortly there after. There are a number of new (significant) things coming in the RC that weren't available in the Beta. Scott has (of course) detailed them in more detail than anyone else can, so for the "skimmers" out there, here's the Reader's Digest version:
- Views (i.e. ASPX files) will now be created by default with no code behind file. This is designed to reinforce the MVC separation of concerns and reduce "file clutter."
- You'll be able to access your strongly-typed model in Views via a new "Model" property (as in, Model.CustomerId) in addition to the old ViewData property (ViewData.Model.CustomerId).
- HtmlHelper and AjaxHelper methods can now be "model aware," enabling powerful strongly-type, IntelliSense-assisted Helper syntax. The OTB (out of the box) helpers will NOT use this functionality in V1, though.
- One of the coolest new features: MVC in Visual Studio will now support "auto scaffolding." In short, you'll be able to use wizards to automatically generate Views designed to view, edit, list, and create data. The wizards will interrogate your model and automatically add the necessary inputs and validation to your Views, too! Pretty cool time saver.
0 comments:
Post a Comment