Here's what I am trying to do:
1. As long as my generic handler gets HttpRequest, push it into a queue and just return empty response so that the request sender does not wait for the long process.
2. A thread keeps checking if there is anything is the queue. If it finds, do its work and save data into DB.
I have been working on IHttpAsyncHandler
but it just seems to return a work thread back to thread pool so that it can receive another request and the request sender still needs to wait for a response. Does anyone have an idea of making a job queue and perform tasks on the back after sending an instant empty response?