by Dominic Zukiewicz
17. June 2008 07:58
In the first part of this article, I discussed the option of calling multiple web services and waiting for them to all return.
It turns out you can do it quickly with a method call that already existed:
public List GetProducts( int[] productCodes )
{
ArrayList asyncStore = new ArrayList();
List<int, ProductWebService.Product> products = new List<int, ProductWebService.Product>();
ProductWebService.Products service = new ProductWebService.Products();
service.GetProductDataCompleted += new GetProductDataCompletedEventHandler(GetProductData...
[More]