multithreading - WCF RIA Services waiting on a Single thread? -


Can anyone explain why this is happening?

  1. WCF Riya Services
  2. SL Application Call StartLongOperation [Invoke] operation.
    There is a thread due to synchronization problems with external components. (30 * 1000) in server-side code

  3. SL app call GetStatus (standard query) operation. These calls are being blocked on server-side and they are waiting for StartLongOperation to complete. Why ??

    I was assuming that serverside, StartLongOperation runs a thread and calls each call to GetStatus a different worker Client side calls that run on the thread are asynchronous, so the SL has closed StartLongOperation and then continues to choose the GetStatus . GetStatusCompleted is not removed until StartLongOperation 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