Introduction to The .NET BackgroundWorker Component

Keep your UI responsive. The BackgroundWorker component gives us an easy way to keep our UI responsive by moving a long-running process off of the UI thread. We'll explore this, plus other features: progress reporting, cancellation, and error handling. And we'll also see the BackgroundWorker component in conjunction with the MVVM pattern and the Task Parallel Library.
Course info
Rating
(186)
Level
Intermediate
Updated
August 6, 2013
Duration
2h 7m
Table of contents
Description
Course info
Rating
(186)
Level
Intermediate
Updated
August 6, 2013
Duration
2h 7m
Description

Keep your UI responsive. If we're not careful, a long-running process will cause our application to "lock up". The BackgroundWorker component gives us an easy-to-use solution by moving that long-running process off of our UI thread. We'll see how the BackgroundWorker component can keep our WinForms, WPF, or Silverlight UI responsive and also explore features such as progress reporting, cancellation, and error handling. After that, we'll see how easily the BackgroundWorker component fits in with an application using the Model-View-ViewModel (MVVM) pattern. And finally, we'll compare the BackgroundWorker component to the Task Parallel Library to make sure we're using the right tool for the job.

About the author
About the author

Jeremy Clark is an application developer, technical speaker, and Microsoft MVP with over 13 years of experience in all aspects of the development lifecycle. After hours, he puts together demos and technical articles for JeremyBytes.com, a website focusing on .NET technologies.

More from the author
Abstract Art: Getting Things "Just Right"
Intermediate
2h 8m
6 Oct 2014
Practical Reflection in .NET
Intermediate
3h 23m
21 Nov 2013
More courses by Jeremy Clark