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?