简体   繁体   中英

Asynchronous operations from WCF service or ASP.NET

I'm developing an application using WCF Ria services and Silverlight. Performance and scalability is a must in this project. The problem is that I have to invoke several WCF services from RIA Service, and service invocation takes time. Threads are limited resource on the webserver, so when I invoke a service, the executing thread just hangs and waits for the answer. This is not acceptable in my sitation. I remember there was a way to workaround this issue back in .NET 2 days, I guess there is still now, but don't remember anything. Any memory refreshment would be nice :)

Thanks

Looks like standard asynch pattern is the right way to go. Thanks to Ladislav Mrnka for pointing me to the right direction.

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