ASP.NET MVC out on CodePlex!

Last post 03-21-2008 12:11 PM by Eilon. 6 replies.

Sort Posts:

  • ASP.NET MVC out on CodePlex!

    03-21-2008, 6:36 AM
    • Member
      368 point Member
    • maartenba
    • Member since 01-23-2008, 1:27 PM
    • Belgium
    • Posts 76

    Perhaps I'm spoiling some official news on this, BUT... The ASP.NET MVC is out there on CodePlex!

    If you are interested in the internals or some fast fixes for your own environment, make sure to check it out.

    Visit my blog at http://blog.maartenballiauw.be

    Order my book ASP.NET MVC 1.0 Quickly via http://www.packtpub.com/asp-net-model-view-controller-1-0-quickly/book
  • Re: ASP.NET MVC out on CodePlex!

    03-21-2008, 8:52 AM
    • Member
      96 point Member
    • andyb.uk
    • Member since 02-17-2008, 5:16 PM
    • Posts 18

    Thanks for the heads-up about the Codeplex link.

    It's really fun and motivational to see the source.

    (I hope there aren't too many calls from the community to open source at all costs.)

    My initial little comment on the code - I'll leave the internal/interfaces debates to others who know more about it - is over Html element ids. In the code, it appears setting htmlId to name in TagBuilder.cs and adding this to the RouteValueDictionary, means trying to set a custom id gives an "An item with the same key has already been added" error. I need custom ids to allow multiple forms per page for the same entity type.

    string htmlID = name;

    <%= Html.TextBox("search", "Enter search term", new { id = "search-input" })%>

    Or am I doing something basic wrong to get a custom element id?

  • Re: ASP.NET MVC out on CodePlex!

    03-21-2008, 10:11 AM
    • Contributor
      4,372 point Contributor
    • tgmdbm
    • Member since 12-17-2007, 2:08 PM
    • Posts 883
    • ASPInsiders
      TrustedFriends-MVPs

    You've pretty much stolen the thunder from whoever was going to announce it. 


    Also, I don't understand why routing isn't part of it.

  • Re: ASP.NET MVC out on CodePlex!

    03-21-2008, 11:29 AM
    • Member
      162 point Member
    • mrfleck
    • Member since 12-19-2007, 2:12 AM
    • Posts 108

    First, thanks! I am so happy MS has decided to do this. I am hoping going forward they leave it open source. I think it will only help them get more developers.   I am sure everyone has seen Scott Gu's post ong the subject, but just in case you have not, here is the link: http://weblogs.asp.net/scottgu/archive/2008/03/21/asp-net-mvc-source-code-now-available.aspx

    Keep up the good work MVC team.

  • Re: ASP.NET MVC out on CodePlex!

    03-21-2008, 11:36 AM
    • Contributor
      5,653 point Contributor
    • Eilon
    • Member since 06-26-2002, 2:14 PM
    • Redmond, WA
    • Posts 965

    Hi everyone,

    The main reason Routing isn't part of this source release is that it isn't part of MVC. Routing is part of the .NET Framework (not in it's final release, though), so its source code will eventually be available much like the rest of the .NET Framework source code for debugging purposes, but not meant to be recompiled.

    Having said that, we would like to give out the source code to Routing but we're starting out with one small step at a time.

    Thanks,

    Eilon

    Blog: http://weblogs.asp.net/LeftSlipper/
  • Re: ASP.NET MVC out on CodePlex!

    03-21-2008, 11:50 AM
    • Contributor
      4,372 point Contributor
    • tgmdbm
    • Member since 12-17-2007, 2:08 PM
    • Posts 883
    • ASPInsiders
      TrustedFriends-MVPs

    thanks eilon,

    this is all good stuff. really looking forward to deleting some internals.

  • Re: ASP.NET MVC out on CodePlex!

    03-21-2008, 12:11 PM
    • Contributor
      5,653 point Contributor
    • Eilon
    • Member since 06-26-2002, 2:14 PM
    • Redmond, WA
    • Posts 965

    Make sure you add some stuff and not just delete stuff :) The MVC code is delicately balanced and we wouldn't want it to get lop-sided in anyone's private build...

    As you dig through the code keep in mind that we love getting feedback from all of you. If you spot anything suspicious or see an odd comment that was perhaps written in the wee hours of the morning, give us a nudge. Feature suggestions, bug reports, suggestions for refactoring are always welcome.

    Thanks,

    Eilon

     

    Blog: http://weblogs.asp.net/LeftSlipper/
Page 1 of 1 (7 items)