Found a typo or error? Suggest an edit! If accepted, your contribution is listed automatically here.

Comments

avatar

42 responses

  1. Avatar for Asad Ali Butt
    Asad Ali Butt February 4th, 2010

    great jobs folks, which one of you is going to write about in detail for what is new in the release. Hoping soon, you guys are MSDN alternative when it comes to ASP.NET.

  2. Avatar for Martin Aatmaa
    Martin Aatmaa February 4th, 2010

    Hi Phil,
    From the release notes:
    "Note Because Visual Studio 2008 and Visual Studio 2010 RC share a component of ASP.NET MVC 2, installing the ASP.NET MVC 2 RC 2 release on a computer where Visual Studio 2010 RC is also installed is not supported."
    A similar type of restriction existed in the RC1 release and VS 2010 Beta2.
    Assuming I want to run VS 2010 RC with ASP.NET MVC2 RC2, and am OK with giving up the VS MVC tooling support, what process would I need to follow in order to make this work?

  3. Avatar for rafek
    rafek February 4th, 2010

    First of all I'd like to say that you're doin' a great job! I was wondering if Microsoft will ever release any certifications in ASP.NET MVC. (Ya, I know that certifications suck)

  4. Avatar for dotnetpower
    dotnetpower February 4th, 2010

    Great!
    Especially, The Model Validation is very useful for me. :)
    Thank you.

  5. Avatar for O
    O February 4th, 2010

    Any chance you can ETA on the VS 2010 RC so I can finally use ASP.NET MVC RC with it? Also, will the RC of VS2010 work with ASP.NET MVC 2 RC 2?

  6. Avatar for Richard Kimber
    Richard Kimber February 4th, 2010

    It's gutting having all this great stuff released and not being able to use it, because you are already using Beta software.

  7. Avatar for RichB
    RichB February 4th, 2010

    Define "recall class bug"?
    It seems that this is a Microsoft term for a ShowStopper:
    blogs.msdn.com/.../397321.aspx

  8. Avatar for Iain Galloway
    Iain Galloway February 4th, 2010

    Thanks for all your hard work!

  9. Avatar for Andi G
    Andi G February 4th, 2010

    Fantastic, good to see things moving quickly. Good work
    Andi

  10. Avatar for Michael
    Michael February 4th, 2010

    gr8 work,
    i'm working on something at the moment that needs to serialize the results of an mvc request, would there be any overhead problems associated with making ActionResult, ViewResult serializable?

  11. Avatar for Eduardo Mendes those
    Eduardo Mendes those February 4th, 2010

    great!
    I'll do some tests ^^

  12. Avatar for Mark Perry
    Mark Perry February 4th, 2010

    You may want to look at the CreateAreaManifestTask and the WebFormsViewEngine to use the same paths.
    Just had some fun with that this morning.

  13. Avatar for Fisher
    Fisher February 4th, 2010

    Will jquery 1.4.1 and its new vsdoc be released with MVC 2 RTM?

  14. Avatar for Craig Stuntz
    Craig Stuntz February 4th, 2010

    Great work; thanks!
    Fisher, John Resig said (on Hacker News) that 1.4.1 was going into the VS release. So I guess the answer is yes.

  15. Avatar for Alan Huffman
    Alan Huffman February 4th, 2010

    Fantastic news and great job. Definitely moving in the right direction!

  16. Avatar for Richard
    Richard February 4th, 2010

    Good news - can't wait to get hands on...!

  17. Avatar for Brian Chance
    Brian Chance February 4th, 2010

    Not sure where we are supposed to leave feedback, I posted an issue on the forums a few days ago regarding ModelBinding and ConvertEmptyStringToNull being true by default which changes the current 1.0 behavior without any mention. It would be great to be able to override it (see comments on forum).
    http://forums.asp.net/p/1522119/3663022.aspx

  18. Avatar for Piers Lawson
    Piers Lawson February 4th, 2010

    Fantastic news about the Model validator.... this was my main gripe when trying to create a wizard in MVC:
    shouldersofgiants.co.uk/...
    Great to see there may be a solution now.

  19. Avatar for ashraf
    ashraf February 4th, 2010

    If I use DataAnnotations validation for MVC then what validation method should I use in service layer or business layer (I use buddy class for DataAnnotations)? any examples?

    @Fisher
    Will jquery 1.4.1 and its new vsdoc be released with MVC 2 RTM?
    YES accourding to Scott Gu.

  20. Avatar for guest
    guest February 5th, 2010
  21. Avatar for haacked
    haacked February 5th, 2010

    @Martin, yes (AT YOUR OWN RISK) you can uninstall just the ASP.NET MVC 2 runtime (not the tools) and then install ASP.NET MVC 2 RC 2 and it should work.
    When VS 2010 RC comes out, it will include ASP.NET MVC 2 RC. You can follow the same steps above (remove MVC 2 RC runtime, then run RC2). In that case, the differences between ASP.NET MVC 2 RC and RC 2 are so minimal, tooling should be unaffected.

  22. Avatar for haacked
    haacked February 5th, 2010

    @RichB "Recall Class" also known as "Show Stopper" or "Ship Stopper" is really a judgement call. Typical criteria include (but not limited to)
    1. Major Security Issue
    2. Major Adoption Blocker
    3. No Workaround
    @Fisher yes, jQuery 1.4.1 will be included.

  23. Avatar for Martin
    Martin February 5th, 2010

    Great work! Our team need more control over validation especially in the client side without including any extra library.Is any CustomValidator already included in this version

  24. Avatar for Arnis L.
    Arnis L. February 5th, 2010

    Just wanted to say thanks. Amazing work.

  25. Avatar for Fisher
    Fisher February 6th, 2010

    Thanks for answers!
    Just got vsdoc for 1.4.1 from vs2008 new mvc project.
    One problem. It seems it doesn't work in my VS2010. before 1.4.1. vsdoc for 1.3.2 works fine. I just updated them. and intellisense only shows function parameter without any description.
    I also tried in a new mvc project on vs2008. and got error below:
    Warning1Error updating JScript IntelliSense: D:\Documents\Visual Studio 2008\Projects\MvcApplication3\MvcApplication3\Scripts\jquery-1.4.1-vsdoc.js: Object doesn't support this property or method @ 1108:1D:\Documents\Visual Studio 2008\Projects\MvcApplication3\MvcApplication3\Scripts\JScript2.js11MvcApplication3

  26. Avatar for Bill F
    Bill F February 6th, 2010

    I 2nd Fisher's bug... I updated to the new vsdoc and 1.4.1 and get the @1108:1 warning, but it might as well be an error because you lose js intellisense because of it. Any updates to fix this yet?

  27. Avatar for 0GiS0
    0GiS0 February 6th, 2010

    Nice work!

  28. Avatar for Matt Tester
    Matt Tester February 7th, 2010

    Great job. Especially pleased the FormCollection behaviour in RC1 was updated - this prevented me from upgrading! Moving to MVC2 R2 later this week.
    Thanks.

  29. Avatar for Martin Aatmaa
    Martin Aatmaa February 7th, 2010

    @Phil
    Excellent. Thank you very much for all you hard work.
    Looking forward to your return from paternity leave!

  30. Avatar for Imran Rashid
    Imran Rashid February 7th, 2010

    While some people are against model validation and I can understand where they are coming from, but in this instance I think model validation makes perfect sense. As point out by Brad Wilson though, it should not be taken as a security feature as there are still ways to underpost and overpost.
    Keep up the good work.

  31. Avatar for Nick
    Nick February 10th, 2010

    I made the mistake of uninstalling the MVC Tools support for VS2010, and now I can't seem to determine where it came from in the first place. Where can I get the tooling support for VS2010 again? I'm using VS2010 RC and MVC 2 RC2.

  32. Avatar for haacked
    haacked February 10th, 2010

    @Nick, try repairing the VS 2010 install.

  33. Avatar for Dan A
    Dan A February 10th, 2010

    Phil,
    I just swapped out RC1 for RC2 in my application and now the model binding to a collection does not work. Can someone look into this?

  34. Avatar for Kevin
    Kevin February 11th, 2010

    Phil, why does Microsoft insist on releasing Readme and Release Note files in doc format? Not all of us have, nor want, Word on our systems. Why not a docx format. At least we can read docx files in Wordpad.

  35. Avatar for santhosh
    santhosh February 16th, 2010


    I have seen in RC 2 release notes says
    "The new UrlParameter type allows default values in routes to be removed after URL routing runs."
    But I still get the route values in the path.
    Here what i get:
    <% using (Ajax.BeginForm("Partial", new { id = "test" }, new AjaxOptions() { UpdateTargetId = "PartialView" }))
    { %>
    <button type="submit">
    Submit</button>
    <%} %>
    Output of the Ajax URL is:
    /Home/Partial/test
    Where the Route Values also included in the Ajax Path.
    Is this default behavior or defect...?
    Thanks,
    Santhosh

  36. Avatar for santhosh
    santhosh February 16th, 2010

    I have seen in RC 2 release notes says
    "The new UrlParameter type allows default values in routes to be removed after URL routing runs."
    But I still get the route values in the path.
    Here what i get:
    <div id="PartialView">
    <%Html.RenderAction("Partial"); %>
    </div>
    <% using (Ajax.BeginForm("Partial", new { name = "test" }, new AjaxOptions() { UpdateTargetId = "PartialView" }))
    { %>
    <button type="submit">
    Submit</button>
    <%} %>
    In Partial Page:
    <% using (Ajax.BeginForm("Partial", new AjaxOptions() { UpdateTargetId = "PartialView" }))
    { %>
    <%=Html.TextBox("test") %>
    <%} %>
    Output of the Partial View Ajax URL is:
    /Home/Partial?name=test
    Where the Route Values also included in the Ajax Path.
    Is this default behavior or defect...?
    Thanks, Santhosh

  37. Avatar for Lee Smith
    Lee Smith February 23rd, 2010

    Re: JQuery intellisense
    Only this combination gets intellisense working for me:
    <script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery-1.3.2-vsdoc2.js" type="text/javascript"></script>

  38. Avatar for Mike H
    Mike H February 28th, 2010

    Can you confirm if MVC 2 will go PL so it is allowed to be run under mono?

  39. Avatar for Tim S
    Tim S March 2nd, 2010

    Is ASP.NET MVC going to get a release built for C# 4.
    Currently having a bit of a dependency nightmare building an extension for MVC that needs to support both MVC2 and Entity Framework 4.

  40. Avatar for Ben
    Ben March 9th, 2010

    A little late out the gate on my side, but nice work on the release!
    I realise that I can get the source, but what are the chances of including the pdb's with releases? It would make debugging a lot simpler...

  41. Avatar for &#231;i&#231;ek
    &#231;i&#231;ek August 5th, 2010

    While some people are against model validation and I can understand where they are coming from, but in this instance I think model validation makes perfect sense.
    Thanks admin...

  42. Avatar for &#231;i&#231;ek sepeti
    &#231;i&#231;ek sepeti August 18th, 2010

    Currently having a bit of a dependency nightmare building an extension for MVC that needs to support both MVC2 and Entity Framework 4.
    Thanks admin.