My UI is asynchronous (Part 3)

Here we are, the last article about keeping the UI responsive with asynchrony. I have described two ways to implement it so far. In this last post we’ll two more. Background Worker The background worker is a component included in the .NET framework. It allows to execute a task outside of the main thread (in our case the ...

My UI is asynchronous (Part 2)

We used the Dispatcher class in the last post to allow asynchrony. In this post we’ll use the power of TPL (Task Parallel Library) to update the UI. We’ve seen TPL a bit with the Task.Factory.StartNew() method last time : But we’re mixing the long running method processing and the UI update in the same part ...

My UI is asynchronous (Part 1)

Hi, it has been a long time since my last post. I enjoyed some time travelling in Canada and Alaska. So now I’m back to business and today we’ll talk about UI and asynchrony. I’m mainly working with applications written in WPF. What is worse, from a client perspective, than an application which get frozen ...