Nah not had time been flat out. Would have done something last night
but I passed out when I got home. Must have been tired or something!
Will see how I go today
On 2/19/09, Jordan Knight <[email protected]> wrote:
> Any luck dood??
>
> Where's that "took three hours to build" replication project we are all
> waiting for???
>
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Stephen Price
> Sent: Thursday, 19 February 2009 10:30 AM
> To: [email protected]
> Subject: Re: Animations and threads
>
> If I kick off an animation which lasts for a second, then call my wcf
> service on the same thread, what happens to the animation that is halfway
> done? It would explain what I'm seeing here if the network call interrupts
> the animation so it can do its thing.
> On Thu, Feb 19, 2009 at 8:48 AM, Jordan Knight
> <[email protected]<mailto:[email protected]>> wrote:
> I think animations and network calls are all run on the UI thread, queued up
> by the dispatcher (from observation).
>
> The actual call itself shouldn't be causing animation issues (not something
> i've witnessed myself)...
>
>
>
> -----Original Message-----
> From:
> [email protected]<mailto:[email protected]>
> [mailto:[email protected]<mailto:[email protected]>]
> On Behalf Of Jonathan Parker
> Sent: Thursday, 19 February 2009 9:36 AM
> To: [email protected]<mailto:[email protected]>
> Subject: Re: Animations and threads
>
> SL wcf proxies are asyc only due to not wanting to lock the UI which
> means that my first guess would be that the animation is using a
> background thread as well (under the hood) which is the same thread as
> the wcf (under the hood) thread for detecting a response.
>
> It doesn't make sense that the wcf call would block the UI as that's
> the whole reason for having async calls.
>
> Is the animation stopping or just stuttering? It may be a thread
> polling for a response from the service which is blocking the
> animation.
>
> On Thu, Feb 19, 2009 at 9:24 AM, Stephen Price
> <[email protected]<mailto:[email protected]>> wrote:
>> 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]<mailto:[email protected]>
>> Subscribe:
>> [email protected]<mailto:[email protected]>
>> Unsubscribe:
>> [email protected]<mailto:[email protected]>
>> List FAQ: http://www.codify.com/lists/ozsilverlight
>> Other lists you might want to join: http://www.codify.com/lists
>>
>>
> --------------------------------------------------------------------------------
> Support procedure: https://www.codify.com/lists/support
> List address:
> [email protected]<mailto:[email protected]>
> Subscribe:
> [email protected]<mailto:[email protected]>
> Unsubscribe:
> [email protected]<mailto:[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<http://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]<mailto:[email protected]>
> Subscribe:
> [email protected]<mailto:[email protected]>
> Unsubscribe:
> [email protected]<mailto:[email protected]>
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists
>
> ________________________________
> Support procedure: https://www.codify.com/lists/support
> List address:
> [email protected]<mailto:[email protected]>
> Subscribe:
> [email protected]<mailto:[email protected]>
> Unsubscribe:
> [email protected]<mailto:[email protected]>
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists
> --------------------------------------------------------------------------------
> 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
>
>
--------------------------------------------------------------------------------
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