Accidental Technologist

Musings about Entrepreneurship, Technology and Software Development

  • Home
  • About
  • Still River Software
  • Privacy Policy

Powered by Genesis

You are here: Home / ASP.NET MVC / The Microsoft ASP.NET MVC Framework Holds Much Promise

The Microsoft ASP.NET MVC Framework Holds Much Promise

November 13, 2007 by Rob Bazinet

Tweet

I have been an ASP.NET developer for a few years now and have used it successfully on many projects.  I never really liked Webforms from the perspective of good architecture with separation of concerns but it has been the generally accepted way to develop web application with ASP.NET.  Yes, I know about MonoRail now but it wasn’t a technology I was aware of back in the ASP.NET 1.0 days.

Much of my work on projects these days is from an architecture and technical lead role so I get to work with new technologies to see how they may best-fit into an application or environment.   I discovered Ruby on Rails about a year and half ago and was really awed by MVC pattern usage in the framework.   The MVC framework was not developed by 37Signals but they surely made it popular in today’s web development arena.

ModelViewControllerDiagram 

Today I write applications both in Ruby on Rails and ASP.NET C#, both have their strengths and weaknesses.   The single greatest feature from an architecture perspective, in my opinion, is the implementation of the MVC.  The greatest news I have heard coming from Redmond was the addition of an ASP.NET framework for MVC coming after Visual Studio 2008 is released.

First Look

The first opportunity I had to see the new ASP.NET MVC Framework was the presentation at ALT.NET by Scott Guthrie.  It seemed like Scott and his team had done their homework and produced something we could work with.

Scott Guthrie gives a very nice write-up on his blog on what we can expect in this new framework.  He says all the right things here:

  • Separation of concerns
  • Test-Driven Development (TDD)
  • Highly Extensible and Pluggable
  • URL Mapping to SEO and REST-friendly naming

These are things that make Rails very powerful and some of the things I really love about Rails.

It makes one wonder what we might be giving up, the ASP.NET MVC Framework is going to allow ASP.NET to keep the things that make using the rich framework pleasant.   The ASP.NET MVC Framework supports:

  • ASP.NET .ASPX and .ASCX and .Master as “View” templates.
  • Forms/windows authentication, URL authorization, membership/roles, output and data caching, session/profile state management, health monitoring, configuration system and the provider architecture.
  • We lose the post-back model (yah), actions are routed to a controller instead.
Best of Both Worlds

The ASP.NET MVC Framework is still some time off but the information released so far should make it easier for developers such as myself who write Rails applications but also write ASP.NET applications.  As an architect I can use my favorite web design pattern and use it on two platforms, giving me choice.

It will be easier becoming an expert on a pattern such as MVC and apply it to both Rails and now…ASP.NET.  This will be very good.

Mads Kristensen had an interesting post about the Dangers of the ASP.NET MVC Framework.  Mads states the introduction of the MVC Framework could divide the development community in a negative way.  I agree the community may split a bit but I don’t think it will be a bad thing as those entrenched in ASP.NET Webforms will continue to use them.  I will continue to use them for existing applications already running on a code base committed to Webforms.  There will be people who move to MVC either because they have used Rails or MonoRail and want to give it a try or are curious about the whole hoopla about MVC.  Webforms has a solid base and will be improved and supported, Microsoft just sees an opportunity here and is taking advantage of it for the better of ASP.NET.

The Result

So who knows where this journey will take us but I know Microsoft is not stupid and they follow what is popular and working well.  I think Rails and Monorail had great influence in creating this framework.

The framework is getting closer to being released as a CTP, as evidenced by Scott Guthrie’s great example on creating a website using the framework, part 1 of many.  I don’t know how he finds time to produce such great content but he does.

My hope is being able to have one architecture (MVC) but have two frameworks, Rails and ASP.NET MVC to chose from to solve my client problems.  I think Microsoft has taken the right approach and my hopes will be realized.

 

Technorati Tags: Microsoft, MVC, ASP.NET

Share this:

  • LinkedIn
  • Twitter
  • Facebook
  • Email
  • More
  • Pinterest
  • Tumblr
  • Pocket
  • Reddit

Related

Filed Under: ASP.NET MVC

Care about your privacy? I do and use Fathom Analytics on this site.

Fathom Analytics

Comments

  1. Windows Vista News says

    November 13, 2007 at 7:15 pm

    The Microsoft ASP.NET MVC Framework Holds Much Promise

    There is an interesting post over at rbazinet.wordpress.com

  2. Windows Vista News says

    November 13, 2007 at 7:15 pm

    The Microsoft ASP.NET MVC Framework Holds Much Promise
    There is an interesting post over at rbazinet.wordpress.com

  3. ASP.NET MVC Framework - Demo App by Scott Guthrie vs. MonoRail and ASPView « Accidental Technologist says

    November 14, 2007 at 4:39 pm

    […] The Microsoft ASP.NET MVC Framework Holds Much Promise […]

  4. ASP.NET MVC Framework - Demo A says

    November 14, 2007 at 4:39 pm

    […] The Microsoft ASP.NET MVC Framework Holds Much Promise […]

Recent Posts

  • How to Fix Rails Flash Rendering When Using Hotwire
  • Hotwire Fix for CORS Error when using Omniauth
  • Fix Installation of Ruby using rbenv on macOS Big Sur
  • RailsConf 2021 and the Future of Conferences
  • Fixing Out of Diskspace Errors on Amazon EC2

Categories

Services I Love

HatchBox - Easy Rails Deploys Fathom Analytics
Follow @rbazinet

Rob Bazinet
@rbazinet

  • I guess Microsoft didn’t learn from Zune - https://t.co/dvznUDGxX4
    about 2 days ago
  • This is so true! I'd love to call out some companies attempting this and making life hard on devs. https://t.co/oNayiZdKlc
    about 1 month ago
  • I’m looking for a good Mac client app to backup my Mac to my Synology NAS. Any suggestions? I’m looking for something besides Arq 7.
    about 3 months ago
  • Hotwire Course Early Access is Open https://t.co/GeW2W0HLYI
    about 4 months ago
  • The James Webb Space Telescope is an amazing engineering fest playing out in real-time - https://t.co/FlGn7LXgkY
    about 5 months ago
  • RSS - Posts
  • RSS - Comments
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.