简体   繁体   中英

Consuming Multiple Webservices at once

I´ve been checking Kayak.com and many other comparison websites were they create on demand queries to multiple web services in order to display best results. I was wondering which is the best strategy to consume multiple web services at once like these website do. thank you so much. sebastian.

You will need Threading in one form or other.

Using FX <= 3.5, use the ThreadPool

From 4.0 on, you can use Tasks to get better control over it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM