The World’s Leading Microsoft .NET Magazine
   
 
The .NET Addict's Blog

My Top Tags

                                                           

My RSS Feeds








Latest Diggs - Programming

Internet Blogs - Blog Top Sites

Site Hits

Total: 2,502,635
since: 19 Jan 2005

Microsoft unveils an MVC framework for ASP.NET

posted Mon 08 Oct 07

Just this morning I saw a blog post containing some details about Microsoft's new and upcoming MVC framework for ASP.NET. I'm actually a little shocked - the sheer amount of "stuff" that is being piled into the Visual Studio 2008 release is positively staggering, though technically this looks like it will be released as an "add-on" to Visual Studio 2008 sometime in early '08.

Some of the highlights of the MVC framework appear to be:

  • It will use .aspx as a view engine and nothing more - controllers will be contained elsewhere. I think this is huge. Anybody who has done any serious development with ASP.NET knows that it completely violates the rules of MVC, and you have to hack until your eyes bleed to get it to resemble an MVC, and even then, most solutions end up hitting the .aspx page first (the view), which then backfills toward the controller ... also a backwards solution.
  • Support for Inversion of Control pattern. I'm not as familiar with this aspect of MVC as others, but this should definitely make a lot of people happy that already belong to the Spring .NET camp, since it appears as though you can rig up your MVC tethering using Spring via IoC. (this is based on third-hand info, so take with a really big grain of sea salt)
  • Loose and flexible - apparently there are no sealed classes involved and everything is based on interfaces, allowing you to plug in your own bits at will and yank out other bits as you see fit. Again, this is heresay but it sounds promising.
  • Support for other view engines like MonoRail. I'm not sure how that would work, but it's been mentioned on the Internet, so it must be true! :)
  • A true routed control mechanism. This is also huge, because it gives you URLs that look like this:
    /(Route)/(Action)/(Param)/(Param)/... If this looks a lot like Rails, that's no coincidence. Rails has been doing control routing in a web-based MVC pattern right ever since it first came out, and it has only been getting better. ASP.NET is playing catch-up in this regard. So out of the box you might be able to get URLs that look like /Customers/List/1, etc.
  • Apparently the out of the box URL mapping mechanism is totally pluggable and you can provide your own URL mapping mechanism by implementing an interface. REST anyone??
  • Supports dynamic languages as well as static. My guess is that the work that is going into Project Jasper is being back-fitted to work more generically with static languages and the MVC framework is what we're getting out of it, since Jasper is a dynamic-language Rails-esque implementation that includes data access.

Having spent so much of my life working with real, live, production-running ASP.NET applications (which includes real, live, production-sized headaches!) I am definitely curious about this new MVC framework. Admittedly I'm a little jaded because I figure any enterprise-class web application development environment that ships without the ability to create a pure MVC environment is incomplete and broken. So, while I must consider this MVC framework a patch to an incomplete ASP.NET implementation, I'm still pretty damn excited about it.

I'm thinking that once I get my grubby hands on Astoria, Silverlight, this MVC framework, and all that running on top of the .NET Framework 3.5, I'll be like a kid in a candy store. It might be a rather dull candy store that sells business requirement caramels, but a candy store it will be nonetheless!!

tags:      

links: digg this    del.icio.us    technorati    reddit




1. Craig left...
Sun 14 Oct 07 9:07 pm

what do you think of http://www.castleproject.org/ - I wish they'd used more .net type pages for their views but still, seems nice. I wonder how it compares ...


2. Kevin Hoffman left...
Wed 17 Oct 07 2:29 pm

Castle Project is decent, but fromwhat little information we have on the MS MVC framework, I'm thinking the MS one would be more integrated and hopefully more feature-rich. Only time and experimentation will tell, however.


Tag Related Posts

NYC SharePoint Developer Needed

Mon 12 May 08 12:09 P GMT-05

Gin and the Cognitive Surplus

Fri 09 May 08 12:55 P GMT-05

Scott Guthrie Updates the ASP.NET MVC Roadmap

Wed 13 Feb 08 3:49 P GMT-05
tags:    

Volta is to Ajax what Tums is to my Stomach

Wed 30 Jan 08 4:11 P GMT-05

ASP.NET 3.5 Extensions Preview Released

Mon 10 Dec 07 2:10 P GMT-05

Microsoft unveils an MVC framework for ASP.NET

Mon 08 Oct 07 12:58 P GMT-05
tags:      

Yet another half-app from Google

Tue 18 Sep 07 7:08 P GMT-05
tags:      

Astoria and the Semantic Web

Mon 16 Jul 07 3:47 P GMT-05

Microsoft Volta - just another codename?

Wed 11 Jul 07 2:43 P GMT-05
tags:        

SuiteTwo Debuts

Thu 19 Apr 07 2:53 P GMT-05

Exploring the MVC Pattern in WPF

Tue 10 Apr 07 12:51 P GMT-05
tags:                      

Web 2.0 - I've had it all wrong!

Mon 30 Oct 06 8:51 P GMT-05
tags:    

ASP.NET Ajax v1.0 Beta

Fri 27 Oct 06 6:17 P GMT-05
tags:      

ASP.NET vs Ruby on Rails : Round 2 (Agility)

Thu 05 Oct 06 11:02 A GMT-05
tags:                      

ASP.NET vs Ruby on Rails : Round 1

Wed 04 Oct 06 1:37 P GMT-05
tags:                

MySpace: We don't need Web 2.0

Fri 15 Sep 06 11:29 A GMT-05

Review of Diigo

Wed 09 Aug 06 12:20 P GMT-05

Scrobbles, Diggs, Flickrs and Tags Oh My!

Tue 01 Aug 06 5:25 P GMT-05