Can anyone explain why this is happening?
- WCF Riya Services
-
SL Application Call
StartLongOperation[Invoke] operation.
There is athread due to synchronization problems with external components. (30 * 1000) in server-side codeSL app call
GetStatus (standard query) operation. These calls are being blocked on server-side and they are waiting forStartLongOperation to complete. Why ??I was assuming that serverside,
StartLongOperation runs a thread and calls each call toGetStatus a different worker Client side calls that run on the thread are asynchronous, so the SL has closedStartLongOperation and then continues to choose theGetStatus . GetStatusCompleted is not removed untilStartLongOperation is complete.Since all Silverlight network communication is present on the UI thread, so only one WCF call should be in one May be. The meaning of your StartLongOperation is to complete, and then the client will start the GetStatus call. If you want to test this behavior, you will find that the Silverlight gatestats will not send an HTTP request for the method unless it is starting to start from the server.
So the problem is not server-side. This is a limit of Silverlight.
Comments
Post a Comment