Review of Making Web Service Calls
page 16 of 17
by Wenfeng Gao
Average Rating: 
Views (Total / Last 10 Days): 78600/ 152
Article Contents:

Making Web Service Calls from Web Services: Asynchronous Web Methods vs. Asynchronous PreRequestHandler Execution

Asynchronous Web methods provide an efficient mechanism within ASP.NET Web services for invoking calls to backend Web services without causing precious threads in the process thread pool to block while doing nothing. This approach applies not only to Web services, but also a number of asynchronous I/O operations for accessing streams, making Microsoft® Windows® Sockets calls, performing file I/O, interacting with other hardware devices, calling asynchronous methods. However, it will only work with the implementations of Web methods (Web service requests in other words). The PreRequestHandler approach will work for all types of ASP.NET requests, but it is a bit easier to program with the asynchronous support built into the ASMX handler than it is to program with the PreRequestHandler.

View Entire Article

User Comments

Title: Code example   
Name: Sean Anderson
Date: 2009-05-26 8:02:17 AM
Likewise, I would be very interested in seeing a working example of this, as I have read the article here (and the one on MSDN) both of which give a very good overview of the approach, but without a full example I am rapidly getting stuck.
Title: Great articles but...   
Name: Pascal
Date: 2009-05-21 7:38:29 AM
Same comments, great articles but would be nice to have a sample code, not that easy to try when you don't know where you going.
Title: req sample code downloadable..   
Name: Karthik
Date: 2006-01-02 1:13:44 AM
the article was a nice one.
it would be more good if sample code(downloadable) for asynchronous webservices.
can that be done?


Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024  |  Page Processed at 2024-04-15 3:02:05 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search