Browse by Tags

Related Posts

  • IE Caching JsonResult from a Controller Method

    I have a controller method that I am invoking from jQuery using the ajax method: $.ajax( { url: "MyController/MyAction", data: jsonData, type: type, processData: false , contentType: "application/json" , timeout: 10000, IE is caching the result - how can I disable this? I am using...
    Posted to ASP.NET MVC (Forum) by Kieren5 on 01-21-2009, 12:00 AM
    Filed under: MVC, Cache, ie, jquery, JsonResult, ajax
  • ASP.NET MVC OutputCache

    I noticed some people struggling with output cache, here are 2 blog posts in which a custom action filter is created to enable "classic ASP.NET"-like output caching features: http://blog.maartenballiauw.be/post/2008/06/Creating-an-ASPNET-MVC-OutputCache-ActionFilterAttribute.aspx http://blog...
    Posted to ASP.NET MVC (Forum) by maartenba on 07-09-2008, 12:00 AM
    Filed under: MVC, output cache, Cache, ASP mvc
  • Custom OutputCache Attribute

    I want to create a custom OutputCacheAttribute that use NHibernate entity like a cachedependency. I'm using an update listener from NHibernate to invalidate the dependency, this part works very good. I try to create a custom attribute inheriting from OutputCacheAttribute but it don't have a cachedependency...
    Posted to ASP.NET MVC (Forum) by fabianplopez on 09-18-2009, 12:00 AM
    Filed under: MVC, Cache, attribute
  • Caching MVC Routes Using IIS 7

    We're trying to add caching to our MVC application using the IIS 7 Caching Module. However, the problem that we're running into is that the IIS 7 Caching module asks that you provide a file extension when you register a new cache rule. Since this is MVC, there is not file extension, just routes...
    Posted to ASP.NET MVC (Forum) by kengineer on 11-16-2009, 12:00 AM
    Filed under: MVC, Cache, IIS
  • Equivalent of Page_Init in web forms for MVC

    Hi folks, I have an ASP.NET MVC web app setup and I need to know what the equivalent of page_init is for ASP.NET? I need to set the application to not cache anywhere. Is the global.asax the best place for this? If so, which event? Basically, I need to put it so that everytime there is a postback, that...
    Posted to ASP.NET MVC (Forum) by ydesai on 11-20-2009, 12:00 AM
    Filed under: MVC, Cache, page_init, web server caching
  • 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
  • Re: Suggestion: Add an IHttpCache interface

    What are you trying to test and how do you intend to use it?
    Posted to ASP.NET MVC (Forum) by abombss on 12-15-2007, 12:00 AM
    Filed under: MVC, TDD, ASP.NET MVC, Cache
Page 1 of 1 (7 items)