Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Calling WCF Service from ASP.NET AJAX, Concurrent Client Calls

$
0
0

I have been experimenting with calling WCF service from ASP.NET AJAX using webHttpBinding and enableWebScript endpoint behavior, with aspNetCompatibilityEnabled is set to true.

I ran into an issue with calling the WCF service concurrently from the same client/browser. Let's say the client/browser makes a call to MethodA that takes a long time to complete. Before MethodA completes, the client calls MethodB. It turns out that MethodB won't be executed until MethodA completes. Is there a way to call both methods concurrently?

I have tried different combinations of InstantContextMode and ConcurrencyMode service behavior. However, the above problem still persists. Does anybody know away to solve this? or is it not possible to do?


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>