Browse by Tags

Related Posts

  • Re: MVC Controller and URL logic?

    Holy crapoly! I thought MVC would make my life easier! :D Simpler answer: I overload my controller's constructor to accept a URL and use the HttpContext's HttpRequest URL in the default constructor? Better simpler answer: I create a custom "MyController" base class with the overloaded...
    Posted to ASP.NET MVC (Forum) by ericis_com on 12-30-2008, 12:00 AM
    Filed under: MVC, Controller, httpcontext, mock
  • Re: What does Better Testability exactly mean?

    Better testability refers specifically to unit testing. One of the major drawbacks of the web forms model is that a great deal of logic lives in code behind files, which are not easily unit testable. With MVC, logic is distributed among very distinct, testable components. For more information, google...
    Posted to ASP.NET MVC (Forum) by Brandon Gano on 12-05-2008, 12:00 AM
    Filed under: MVC, mock, dependency injection, Unit Test
Page 1 of 1 (2 items)