where is RenderView() in preview 3

Last post 05-30-2008 5:46 AM by Ahtesham. 2 replies.

Sort Posts:

  • where is RenderView() in preview 3

    05-30-2008, 3:43 AM
    • Member
      103 point Member
    • Ahtesham
    • Member since 04-09-2008, 8:00 AM
    • Posts 100

    hey , i am using visual studio 2008 and i have just download the AspNetMVCPreview3-setup and i am trying to work on expample by scott on mvc

    http://weblogs.asp.net/scottgu/archive/2007/11/13/asp-net-mvc-framework-part-1.aspx

    first i had problem that i was not able to find [controllerAction] but then i found out that in latest mvc we do not need it RenderView() function

    in scott blog he said

    "We'll use one of the RenderView() methods on the Controller base class to specify the View we want to use, as well as explicitly pass in the specific data that we want the View to use to render its response."

    which should mean that its in controller class but i  can not find any thing like that in that class too , idk am i missin somthin or some other method replace this , very confuse here that what else has change (if any) in MVC Preview3 and is there any new example regarding that , if there is any plese help me out on that

    Ahtesham

     

    Filed under: , ,
  • Re: where is RenderView() in preview 3

    05-30-2008, 4:25 AM
    Answer
    • Contributor
      5,026 point Contributor
    • Paul Linton
    • Member since 04-30-2008, 3:16 AM
    • Posts 878

    You need to make quite a few changes to the material in Scott's initial posts.  You can see a sample controller if you look at his latest post http://weblogs.asp.net/scottgu/archive/2008/05/27/asp-net-mvc-preview-3-release.aspx

    Check out Scott Hanselman's post on Preview 3 http://www.hanselman.com/blog/ASPNETMVCPreview3.aspx  I very strongly recommend that you watch the screencasts from this page.

    There is lots of other great material out there but not a lot yet on Preview 3.  The stuff on the preview of preview 3 is still useful but you will have to take in to account the changes that the actual Preview 3 made.

    Got a c# problem? Try .NET Book Zero from Charles Petzold, it's a free pdf.
  • Re: where is RenderView() in preview 3

    05-30-2008, 5:46 AM
    • Member
      103 point Member
    • Ahtesham
    • Member since 04-09-2008, 8:00 AM
    • Posts 100

    thanks buddy let me see if that helps but thanks for suggesting me new links

    ahtesham

Page 1 of 1 (3 items)