Hi friends,
In my career I had come across many good looking desktop application in which user do some click or tap his/her figure on screen for certain task and it becomes “not responding status” due to long running tasks. This type of Painful user experience makes application unsuccessful.
Means responsiveness of your application make difference. Hence developer should use threading in their application with some care to make more responsive application. In older .net (winform ) we have background work and threadpool to do threading. Now in WPF we got another feature named dispatcher which makes your threading work more easy hence you can make your WPF application better when you have long running task in you WPF screen .
WPF is a great technology for creating compelling user interfaces, but that doesn't mean you don't have to take the responsiveness of your application into account. The simple fact is, no matter what type of long-running processes are involved—whether getting large results from a database, making asynchronous Web service calls, or any number of other potentially intensive operations—making your application more responsive is guaranteed to make your users much happier in the long run. But before you can start using an asynchronous programming model in your WPF application, it is important that you understand the WPF threading model. In this article I will not only introduce you to that threading model, but I'll also show you how the Dispatcher-based objects work and explain how to use the BackgroundWorker so that you can create compelling and responsive user interfaces(i will do in next blog)
No comments:
Post a Comment