Browse by Tags

Related Posts

  • HttpContext --- What it does ? (MVC View Unit Testing)

    Hi all, I have a problem with the following code.. I am trying write unit test the view pages of MV... My code is executing without an error but it returns null value when call the RenderView method... Can any one please help me with this ? My code is as follows. private static string RenderView(string...
    Posted to ASP.NET MVC (Forum) by foiaz on 11-10-2008, 12:00 AM
    Filed under: mvc view, MVC ViewPage, mvc viewpage visualstudio, nunit, view engines, viewdata, viewname ViewContext, viewpage, ViewResult, .net.3.5, aps.net mvc, ASP.NET mvc, ASP.NET MVC ViewPage UserAgent, ASP.NET MVC, iview, mocks, Mocks HttpContext, Unit Test
  • How to pass ViewData to Views ?

    Am trying to unit test the MVC Views. How to pass the ViewData from controller to Views ? What is the logic behind Render View.. which gets populated with the ViewData ? Thanks in advance
    Posted to ASP.NET MVC (Forum) by foiaz on 11-06-2008, 12:00 AM
    Filed under: mvc view, MVC view data, MVC ViewPage, mvc viewpage visualstudio, nunit, view, viewdata, viewpage, Views, .net.3.5, aps.net mvc, Url Routing
Page 1 of 1 (2 items)