Hi
I got a problem with my svc service in asp.net site. I do file uploading in iframe and the same time do calls to svc service to check the uploading progress.
The problem is that service does not start processing of the request until file is fully uploaded.
I checked forums for "concurrent service calls" and found ServiceBehavior and CallbackBehavior settings there. I also written a test page and test service to process two calls simultaneously. Mentioned settings don't help and I heed advice!
Below is my svc service
Below is my svc service
|
there is how I call it:
| function serviceCall() { MessageService.GetFileUploadsProgress("test", updateProgress); } function updateProgress(result) { document.getElementById("progress").innerHTML += " " + result; } |
Results always come with reply time around 1sec, 2sec, 3sec. That mean the service
calls ALWAYS synchronously go one by one. The third reply waits for previous two to finish.
What should I do to make service answer on requests regardless on other calls, posting pages and so on???
Please help!!!!
Replies
Know the answer? Post it — somebody with the same question will find it here.