Accidental Technologist

Musings about Entrepreneurship, Technology and Software Development

  • Home
  • About
  • Still River Software
  • Privacy Policy

Powered by Genesis

You are here: Home / Visual Studio / Now that Visual Studio 2008 is Out, Where is My MVC?

Now that Visual Studio 2008 is Out, Where is My MVC?

November 20, 2007 by Rob Bazinet

Tweet

Now that Visual Studio 2008 has been released we are one step closer to having the ASP.NET MVC Framework in our hands.   This is one of the biggest pieces of Microsoft technology, in my opinion, that will change ASP.NET development for the better.

Since I don’t have the ASP.NET MVC Framework in my hands yet I can only make statements from the demos I have seen and from those lucky few that have had a chance to play with it.

So what makes having a different framework to write ASP.NET applications with besides WebForms important? 

  • One of the most important reasons to use the new MVC framework is getting rid of ViewState and ViewState management.  ViewState is one of those things that tend to creep up on you and before you know it your web page is huge and you have to start cutting down ViewState usage.  This is something developers should not have to worry about and manage, it’s just a waste of time.
  • Secondly, no more PostBack and PostBack Events.  Here we go again, something developers should not have to waste their time managing.  Frankly, having to have intimate knowledge of when to perform certain actions in various events leads to code that is hard to manage and maintain.  Unless you have this particular knowledge you may be inadvertently writing bad code.  I think this model was created to try to make web application development as close to being WinForm development as possible and make the job of the developer easier.  The intention probably wasn’t to make it harder.

What do we really gain from an MVC implementation?

  • Developers will be able to make use of the framework from static as well as dynamic languages, such as IronRuby and IronPython.   Much of the things that make Ruby on Rails so attractive can now be done in IronRuby using the MVC Framework.
  • Architecting a solution will be much easier and cleaner when we have very clear separation between the view, the controller and our models.   When developing a solution in ASP.NET using webforms we always have blurred lines between our different layers, no real distinction.
  • Testing will be so much easier with the innate ability for testing in an MVC pattern, we will not be pulling our hair out trying to perform the tests we know we should be doing.  Sure, we can and do test now but it is not the easiest of tasks.
  • We can also chose how we want to handle our views with third party support such as NVelocity, Brail or Microsoft’s flavor of view engine that will support ASP.NET.  We will have choice available to us.

We can forget about MonoRail and what that has given us.  MonoRail will find its place once the ASP.NET MVC Framework comes out.  My guess will be that it will take advantage of what Microsoft does and extend it for the better.    Hammett has some thoughts on this too.

I think Ruby on Rails has a lot of influence in the MVC Framework and for good reason, Rails is popular, Rails works and it really helps create maintainable and testable code.   I really enjoy working with Rails and because of this, I am looking forward to the MVC Framework. 

I hope the MVC team takes advantage of Rob Conery’s SubSonic project to give us things like Scaffolding and dynamically creating classes from our models.  I know LINQ will do wonders to make it happen.  I would like to add generation of controllers and models to my wish list too.

Maybe Santa will leave the MVC Framework in my stocking……..

Technorati Tags: Microsoft, Visual Studio 2008, MVC

Share this:

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

Related

Filed Under: Visual Studio

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

Fathom Analytics

Comments

  1. Jeffrey Palermo says

    November 21, 2007 at 12:27 pm

    We won’t have it by Christmas. Scott Guthrie mentioned at the AltNetConf that we might have it mid-2008

  2. Jeffrey Palermo says

    November 21, 2007 at 12:27 pm

    We won’t have it by Christmas. Scott Guthrie mentioned at the AltNetConf that we might have it mid-2008

  3. Rob Bazinet says

    November 21, 2007 at 12:39 pm

    Yes, that is what I understood as well. I guess I was hoping for a CTP soon so those of us not as priviledged as maybe…yourself, could start playing with it.

  4. Rob Bazinet says

    November 21, 2007 at 12:39 pm

    Yes, that is what I understood as well. I guess I was hoping for a CTP soon so those of us not as priviledged as maybe…yourself, could start playing with it.

  5. Dutt says

    November 24, 2007 at 4:22 am

    Apache and Sun has introduced popular MVC frameworks nearly 5 years back as form of Struts and JSF.

    and also eclipse contains all the features contained by vs2008 before 1year.

    and it contains lot more even it has capability to communicate with different web server and app servers for debugging.

    and LINQ feature is available 3 years back as form of java Hibernate

    and even if you see the performece between both eclipse and vs 2008. eclipse is lot more faster than vs even in 512MB RAM.

    and it is plugble IDE, we can do any sort of thing by installing adons

    and lot lot more….

    then what this Microsoft is doing better and how it gives new features instead of thinking always in GUI part.

    But as a Microsoft fan anyhow here I have decided to write only good features of Visual Studio 2008

    feeds.feedburner.com/…/22-new-features

  6. Dutt says

    November 24, 2007 at 4:22 am

    Apache and Sun has introduced popular MVC frameworks nearly 5 years back as form of Struts and JSF.
    and also eclipse contains all the features contained by vs2008 before 1year.
    and it contains lot more even it has capability to communicate with different web server and app servers for debugging.
    and LINQ feature is available 3 years back as form of java Hibernate
    and even if you see the performece between both eclipse and vs 2008. eclipse is lot more faster than vs even in 512MB RAM.
    and it is plugble IDE, we can do any sort of thing by installing adons
    and lot lot more….
    then what this Microsoft is doing better and how it gives new features instead of thinking always in GUI part.
    But as a Microsoft fan anyhow here I have decided to write only good features of Visual Studio 2008
    feeds.feedburner.com/…/22-new-features

  7. Rob Bazinet says

    November 26, 2007 at 12:08 pm

    I know Sun and Java were ahead of Microsoft with related MVC frameworks, but I am not a Java developer and never have been. It is unfair to really compare Sun and Microsoft, much like comparing apples and oranges.

    These two companies have their hands in particular companies and these companies are generally loyal to their chosen brand.

    As a .NET developer, I would not consider Java, Eclipse or any of their open-source projects, not because they are bad but because I am not familiar with them.

    Thanks for the comment.

  8. Rob Bazinet says

    November 26, 2007 at 12:08 pm

    I know Sun and Java were ahead of Microsoft with related MVC frameworks, but I am not a Java developer and never have been. It is unfair to really compare Sun and Microsoft, much like comparing apples and oranges.
    These two companies have their hands in particular companies and these companies are generally loyal to their chosen brand.
    As a .NET developer, I would not consider Java, Eclipse or any of their open-source projects, not because they are bad but because I am not familiar with them.
    Thanks for the comment.

  9. Robert Stevens says

    January 22, 2008 at 1:23 pm

    I’ve evaluated a variety of frameworks. Ruby on Rails is ideal for CRUD applications and rapid prototyping. Adobe Flex is even better for rapid prototyping because non-programmers can rapidly build rich applications.

    JBoss Seam is the Ruby competitor in the Java world. It marries the best available–Java Server Faces (JSF), Facelets, Java, Hibernate, POJOs (Plain old Java Objects) and EJB3. The problem is the learning curve. It could and should be easy but writers expect you to have a five-year history in Java frameworks.

    JBoss Seam is the only framework I’ve found that correctly manages state information and the Back button, and without much effort on the programmer.

  10. Robert Stevens says

    January 22, 2008 at 1:23 pm

    I’ve evaluated a variety of frameworks. Ruby on Rails is ideal for CRUD applications and rapid prototyping. Adobe Flex is even better for rapid prototyping because non-programmers can rapidly build rich applications.
    JBoss Seam is the Ruby competitor in the Java world. It marries the best available–Java Server Faces (JSF), Facelets, Java, Hibernate, POJOs (Plain old Java Objects) and EJB3. The problem is the learning curve. It could and should be easy but writers expect you to have a five-year history in Java frameworks.
    JBoss Seam is the only framework I’ve found that correctly manages state information and the Back button, and without much effort on the programmer.

  11. Royagmug says

    March 31, 2008 at 8:15 pm

    Hi

    Wasjust serfing on net and found this site…want to say thanks. Great site and content!

  12. Royagmug says

    March 31, 2008 at 8:15 pm

    Hi
    Wasjust serfing on net and found this site…want to say thanks. Great site and content!

  13. Rob Bazinet says

    April 1, 2008 at 7:52 am

    @Royagmug Thank you and glad I could help.

  14. Rob Bazinet says

    April 1, 2008 at 7:52 am

    @Royagmug Thank you and glad I could help.

  15. Peter Wieselquist says

    June 4, 2008 at 4:53 pm

    Nicely said. You’ve echoed my sentinments exactly. Other than Master Pages, I’ve "sat out" most of the ASP.NET so-called innovations, like server-side form/viewstate/postback/webparts, and other nonsense.

    I mean, c’mon. Button events on a web page? Talk about square web pegs into round winforms holes.

  16. Peter Wieselquist says

    June 4, 2008 at 4:53 pm

    Nicely said. You’ve echoed my sentinments exactly. Other than Master Pages, I’ve "sat out" most of the ASP.NET so-called innovations, like server-side form/viewstate/postback/webparts, and other nonsense.
    I mean, c’mon. Button events on a web page? Talk about square web pegs into round winforms holes.

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 (ruby.social/@rbazinet)
@rbazinet

  • Working to wrap up my current consulting gig by mid-April. I will be looking for the next thing soon. If anyone has… https://t.co/sg3cSV9yqM
    about 13 hours ago
  • I’ve been spending some time using Notion AI lately and it surprisingly good. Since all the rage lately is ChatGPT,… https://t.co/cUXFWIRCVV
    about 3 days ago
  • I think these steps are true for any target audience. https://t.co/0ht6rIzOW3
    about 4 days ago
  • I’ve been enjoying a show from the Magnolia network called The Craftsman. It’s mainly about woodworking but his phi… https://t.co/sWTUBbSsl6
    about 4 days ago
  • I found the resource I was looking for last night that is similar to https://t.co/Pyn0IIjRdP, it is… https://t.co/U7TMe77FMF
    about 4 days ago
  • RSS - Posts
  • RSS - Comments
Find me on Mastodon