Page view counter
Silverlight Datagrid AsyncCallback
Last post 05-13-2008 10:02 PM by Allen Chen – MSFT. 4 replies.
Sort Posts:
05-08-2008 7:08 AM
Silverlight Datagrid AsyncCallback

When calling a WCF Service from my Silverlight Control to fill my Datagrid I have almost the problem that the async callback is very slow. Sometimes the async callback is fast. My WCF Service runs on my local machine.

Is there a known Bug with Async Callback?

 

 

AndyE

Loading...
Joined on 05-08-2008
Posts 16
05-12-2008 2:35 AM
Re: Silverlight Datagrid AsyncCallback

Hi:

  I'm not sure what's the cause of this problem. Could you paste a demo for us to reproduce it?

Thanks

Sincerely,
Allen Chen
Microsoft Online Community Support

Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Allen Chen – MSFT

Loading...
Joined on 03-16-2007
Posts 1,616
05-13-2008 3:23 AM
Marked as Answer
Re: Silverlight Datagrid AsyncCallback

Maybe it is always the first request that is slow? Because that is my experience. The first request to a self-hosted WCF service is always slow because the service seems to 'start up'. The other requests seem to go a lot faster in my experience. But I did not test it instively.

Roet

Loading...
Joined on 02-15-2008
Posts 18
05-13-2008 4:10 AM
Re: Silverlight Datagrid AsyncCallback

The first request is very slow. Do you have any idea to make the first request faster?

Maybe use of Global Assembly Cache?

 

 

AndyE

Loading...
Joined on 05-08-2008
Posts 16
05-13-2008 10:02 PM
Marked as Answer
Re: Silverlight Datagrid AsyncCallback

Hi:

  When you host the WCF in IIS the serveice isn't started until the first query comes. Then it need some time to start up. You can refer to this thread:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2928415&SiteID=1

Regards

Sincerely,
Allen Chen
Microsoft Online Community Support

Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Allen Chen – MSFT

Loading...
Joined on 03-16-2007
Posts 1,616
Microsoft Communities