Hey mate, Network + Animation both always happen on the UI thread...
Is it the actual network call that is causing the problem or some processing you are doing before call/after you get the data back... In your WCF return event handler, perhaps you could run your further processing on another thread... Cheers, Jordan. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Stephen Price Sent: Thursday, 19 February 2009 9:25 AM To: [email protected] Subject: Animations and threads Hey all I've notices some of my animations are not running smoothly and it seems to happen when I make wcf service calls. The call is asyc judging by it's name and callback but it would appear to be blocking the ui thread. >From memory I've hit this before in the past when I was working with SPF and I think I used a background worker to kick the work off on it's own thread but that doesn't seem right for an asyc wcf service call? Anyone come across this before? If I comment out the service call the animation works fine. (it's a busy/loading/waiting type animation that I want to run until the callback is called when the results come back. Ta Stephen -------------------------------------------------------------------------------- Support procedure: https://www.codify.com/lists/support List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: http://www.codify.com/lists/ozsilverlight Other lists you might want to join: http://www.codify.com/lists No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.10.25/1957 - Release Date: 02/18/09 08:57:00 -------------------------------------------------------------------------------- Support procedure: https://www.codify.com/lists/support List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: http://www.codify.com/lists/ozsilverlight Other lists you might want to join: http://www.codify.com/lists
