Synchronous database reads inside IHttpAsyncHandler

Posted by sayao on Stack Overflow See other posts from Stack Overflow or by sayao
Published on 2009-05-07T01:33:09Z Indexed on 2010/05/29 11:02 UTC
Read the original article Hit count: 258

Filed under:

On asp.net if i call a synchronous database query inside an IHttpAsyncHandler with delegate.BeginInvoke, would it still release the asp.net worker thread while reading the database?

For example, this post: http://madskristensen.net/post/How-to-use-the-IHttpAsyncHandler-in-ASPNET.aspx

If i put a synchronous database call inside ServeContent, would the request still happen asynchronously?

© Stack Overflow or respective owner

Related posts about ASP.NET