Synchronous database reads inside IHttpAsyncHandler
- by sayao
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?