problem about ihttpasynchandler-Collection of common programming errors


  • Jon Seigel
    asp.net asp.net-mvc-2 ihttphandler ihttpasynchandler
    I made a custom handler that derives from MvcHandler. I have my routes using a custom RouteHandler that returns my new handler for GetHttpHandler(), and I override ProcessRequest() in my custom handler. The call to GetHttpHandler is triggering a breakpoint and my handler’s constructor is definitely being called, but BeginProcessRequest() is being called on the base MvcHandler instead of ProcessRequest(). Why are the async methods being called when I haven’t done anything to call them? I don

  • Joel Clark
    asp.net ihttpasynchandler
    Given an IHttpAsyncHandler instance A, will A be the instance that receives the EndProcessRequest callback? If so, it is guaranteed? Does the IsReusable property alter the behavior at all?It’s complicated enough to try to test that I wanted to reach out and see if someone else had already been down this road.I currently have a IHttpAsyncHandler that uses a state object that gets sent to EndProcessRequest and everything is working perfectly. However, I could clean the code considerably if I co

  • noob-foreva
    asp.net csv iis6 long-polling ihttpasynchandler
    I have developed a live scoring application which is based on the long polling approach, or Comet as they also call it. I have used ASP.NET 4.0 running on IIS 6 (windows 2003 – only two CPUs, which does not help me much with the availability of threads in the pool).The data is coming in in the form of .csv files that are pasted to the source folder on the web server, which I then import with the use of Microsoft JET 4.0 OleDb Provider, and display utilizing different methods, depending on the pa

  • MatthewMartin
    c# asp.net asynchronous threadpool ihttpasynchandler
    I’m working on creating an asynch handler for asp.net that will execute a slow stored procedure. I think I understand that to gain additional throughput on a mix load of slow and fast pages, that the slow page needs to be executed on a thread pool separate from the one the ASP.NET uses, otherwise the asynch pattern will cause double the number of scarce threads to be used. (correct me if I’m wrong) So I findSystem.Threading.ThreadPool – This looks like it should do the trick, but…The various

Web site is in building