ASP.NET Article        
Skip Navigation Links

ASP.NET WaitPage Framework (5/5)

[Note: Code is for ASP.NET 1.1, but converts to ASP.NET 2.0]

Download code and reference documentation for this article: (106KB)

View WaitPage Reference Documentation online

Appendix A - Asnchronous Http Handlers

It is possible to use asynchronous Http handlers (much more simply in ASP.NET 2.0 than in ASP.NET 1.x) to return the worker thread to the pool when the work to be done is I/O Bound – with a new worker thread being taken from the pool to carry on once the I/O completes. Normally the user will still end up with a hanging page though, and although you could redirect first to a wait page and have that be the one that hangs, it would be tricky to get progress displayed. However, it’s worth looking into whether this would be possible, and I will try to come up with a future article to explain this.

Meanwhile, here are some good sources of information about asynchronous Http handlers, and how they work:

Asynchronous Pages in ASP.NET 2.0

Asynchronous Http Handlers in ASP.NET 1.x

Fritz Onion on ASP.NET 2.0's Async Pages:
Async='true' in ASP.NET 2.0
Async='true' take 2
Async Pages in ASP.NET 2.0 - some results
Async tasks in ASP.NET 2.0

< prev   1 | 2 | 3 | 4 | 5
© 2006 Pete Beech