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
  • Modification to HttpContext Wrapper

    I've suggested a small modification to the existing HttpContext wrapper that would greatly enhance the extensibility of the framework. Any insight on the likely hood that this will be incorporated?
    Posted to ASP.NET MVC (Forum) by wcpierce on 12-18-2007, 12:00 AM
    Filed under: MVC, httpcontext, iserviceprovider, asp.net
  • How to add item to cache in controller's constructor?

    If I use HttpContext.Cache.Add I get the error: " System.NullReferenceException: Object reference not set to an instance of an object." from the line in Default.aspx httpHandler.ProcessRequest(HttpContext.Current); Is there another way?
    Posted to ASP.NET MVC (Forum) by webster.net on 08-16-2009, 12:00 AM
    Filed under: MVC, Cache, httpcontext, Controller
Page 1 of 1 (3 items)