Geeks With Blogs
If you can't riddle them with questions... ...riddle them with bullets.
I noticed today that Microsoft is about to release a new preview release of the ASP.NET MVC framework, so I thought I'd say something about that today. 

For those who haven't really used an MVC framework before, in short, its a flexible architecture that allows you to structure your code in such way as to keep clearly defined layers:  a model (database access), a controller (business logic) and a view (a way to view the results of the execution of said logic).

I've played around with other MVC frameworks before with Ruby on Rails and Cake PHP.  Both of these greatly simplify the code that you write when coding a web application.  I've been wondering for a long time when Microsoft would jump on the bandwagon, and that day has clearly arrived (and I for one am happy to see it).  Anything that can keep code cleaner and more manageable in the long run is, in my opinion, a good thing. 

Anyway, the overview aside, this release of the framework adds some built in Action filter attributes (which serve as hooks to be executed at certain points of execution within your controller/actions), built in output cache attributes.  I'm particuarly interested in the authorize filter for controller actions.  I'm trying to fathom how much less code I'm going to need to write in ASP.NET.  There was one project in particular that we did (a WCM system) that this would have worked beautifully with.  Anyway, I don't have too much to say other than what Scott Guthrie has already said.  See his blog for some good examples. Posted on Tuesday, July 29, 2008 9:20 PM ASP.NET , C# | Back to top

Comments on this post: ASP.NET MVC

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © agundel | Powered by: