---
title: "Implementing the BackgroundWorker component - today(source included)"
url: "https://osherove.com/blog/2004/6/16/implementing-the-backgroundworker-component-todaysource-incl.md"
canonical: "https://osherove.com/blog/2004/6/16/implementing-the-backgroundworker-component-todaysource-incl.html"
published: "2004-06-16T07:27:00"
updated: "2004-06-16T07:27:00"
tags: [".Net Original"]
author: "Roy Osherove"
description: "Juval wrote a very cool article (registration required) about implementing the BackGroundWorker component found in VS.Net 2005 in C# today. Just for the heck of it (and because I needed to), I implemented this component…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Implementing the BackgroundWorker component - today(source included)

By Roy Osherove June 16, 2004 In [.Net Original](https://osherove.com/blog/category/net-original)

**Historical article** · Originally published June 16, 2004; technical details may be outdated.

Juval wrote [a very cool article](http://www.devx.com/codemag/Article/20639?trk=DXRSS_DOTNET)(registration required) about implementing the BackGroundWorker component found in VS.Net 2005 in C# today. Just for the heck of it (and because I needed to), I implemented this component (the article only shows some of the code needed to make this work).

[You can get the source code here](http://weblogs.asp.net/rosherove/articles/BackgroundWorker.aspx).

If you don't know what the BackgroundWorker component is, it's a simple class really, that allows you to do asynchronous multi threaded operations in your winform apps with much less hassle than needs to be. I wrote about these problems in my blog as well. Juval shows how to implement it with ease and explains lots of the concepts regarding multi threading along the way. Very interesting and already very helpful in a project I'm working on.

## More in .Net Original

[All posts in .Net Original](https://osherove.com/blog/category/net-original)

- Jun 20, 2004

    ### [Watch me speak: eXtreme Programming and Agile concepts, at the .Net Architects user group this month](https://osherove.com/blog/2004/6/20/watch-me-speak-extreme-programming-and-agile-concepts-at-the.html)

- Jun 19, 2004

    ### [\[Article\] Simplified Database Unit testing using Enterprise Services](https://osherove.com/blog/2004/6/19/article-simplified-database-unit-testing-using-enterprise-se.html)

- Jun 16, 2004

    ### [Problem & Solution: Allow only one instance of any MDI child form in your MDI application](https://osherove.com/blog/2004/6/16/problem-amp-solution-allow-only-one-instance-of-any-mdi-chil.html)

- Jun 13, 2004

    ### [Unit Testing in Whidbey - some pointers for improvement](https://osherove.com/blog/2004/6/13/unit-testing-in-whidbey-some-pointers-for-improvement.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
