How to use the IHttpAsyncHandler in ASP.NET

by UnquaLe 30. June 2008 11:34

Before reading this post you have to know what IHttpHandler intaface does.

Basically, the IHttpAsyncHandler interface allows you to serve content asynchronously from a HTTP handler. This is great when you need to free up the worker thread to do processing like IO work etc. ASP.NET actually uses fewer threads when it runs asynchronously, which is great for performance and scalability. That’s because each thread is returned much faster to the thread pool.

There you are a simple example.

Tags:

Development

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen