开发者

What protocols are available for performing remote operations from within Silverlight?

开发者 https://www.devze.com 2023-01-13 05:48 出处:网络
I have a Silverlight app which currently uses a WCF to interact with the back-end.For some reason, the asynchronous calls occasionally (in fact semi frequently) vanish into thin 开发者_Go百科air.We\'v

I have a Silverlight app which currently uses a WCF to interact with the back-end. For some reason, the asynchronous calls occasionally (in fact semi frequently) vanish into thin 开发者_Go百科air. We've yet to set up tracing or logging, however I've 'synchronized' some of the more critical calls with some cheap hacks and that seems to have mitigated the problem. In any event, it seems that for some reason WCF calls get dropped. My questions is what other communication protocols are available? All we need to do is a get a hold of a our db and call a bunch of stored procedures and the like. Is there a more bulletproof way of doing this? Currently what we do is test the return of each call just to be sure, and if it seems to have failed, i just try again a few times and usually it works.

Any advice is much appreciated.

Thanks, brian


WCF RIA Services was built with Silverlight in mind. Any Silverlight project can have a WCF RIA Services link as seen on this screenshot of the project settings of a Silverlight project:

What protocols are available for performing remote operations from within Silverlight?

0

精彩评论

暂无评论...
验证码 换一张
取 消