Blogger : Geekswithblogs.net
All posts : All posts by Geekswithblogs.net
Category : XML
Blogged date : 2007 Nov 27
Last month, Scott Guthrie announced the ASP.NET MVC
framework which allows for built-in support for the Model View Controller
based architecture. Since that time there has been a flurry of activity from Microsoft to demo the technology to the world and make demos readily available.
In case you missed it, here are some of the features:
- Clean separation of concerns. All core contracts of the MVC framework are testable and mockable
- Highly pluggable to use NHibernate, Spring.NET, Windsor, and other great products
- URL mapper to create clean URLs
- Use existing ASPX, ASCX, .MASTER as view templates, but post-back and view-state are not supported
- Supports ASP.NET features such as session-state, forms/windows authentication, etc.
In case you missed the ALT.NET conference in Austin, TX, Scott Guthrie (ScottGu) and Scott Hanselman (ScottHa) both gave presentations on the MVC framework and what it means to developers. ScottGu
talked about the MVC architecture, what it is, what it supports and where it is going. It's 60 minutes long, but well worth the view. ScottHa
on the other hand spends about 30 minutes walking through an MVC sample with IronPython and the DLR also well worth viewing. ScottHa has also made his slides from DevConnections
available on the web in PowerPoint 2007 Open XML format.
More interesting demos and walkthroughs worth reading
- ScottGu demonstrates an end to end solution for an MVC products store.
- Brad Abrams followed on with a demo of an RSS feed using the ASP.NET MVC framework and LINQ.
- Fredrik Normen uses the ASP.NET MVC with Spring.NET as the controllers with Dependency Injection (DI). Really cool stuff and it's great that the ASP.NET MVC is very pluggable
- Phil Haack uses Rhino.Mocks to create very testable web applications. Great post!
- Nikhil Kothari demonstrates using ASP.NET MVC with AJAX to create a tasks list and demo source code is available here.
So, now that we have this coming from Microsoft, where does this leave the great Castle Project
? Well, Hamilton Verissimo aka Hammett
recently made a trek to Microsoft's Building 42 to meet with the MVC team and gives his impressions. It's really great that Microsoft invited him out to show not only what they have, but where they are going, and where they can synergize. This of course leaves MonoRail in the lurch until MVC comes around, but it will be interesting how this plays out.
Either way, enjoy the demos as they come along and it will be fun to watch this evolve. I'm still a big fan of Castle Project and will continue to use those frameworks as well.