Home > Articles > Programming > .NET and Windows Programming

Programming with the BackgroundWorker Component in .NET 2.0

Paul Kimmel
  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
Close WindowPaul Kimmel

Paul Kimmel

Learn more…

Debugging Client-Side JavaScript for ASP.NET with Visual Studio
Sep 16, 2009
Using Entity SQL As Your Data Access Layer
Dec 2, 2008
Programming with LINQ to XML for Objects
Nov 21, 2008
Bill Wagner on C#, LINQ, and Writing Books
Oct 6, 2008
Writing LINQ Queries with the Entity Framework
Sep 23, 2008
Using Parallel LINQ
Aug 15, 2008
Programming with Anonymous Types in C#
Aug 11, 2008
Querying SQL with LINQ
Jul 28, 2008
Writing Lambda Expressions in the .NET Framework
Jun 11, 2008
Programming with Generic Delegates in .NET
May 8, 2008
Managing Database Transactions with the TransactionScope
Sep 7, 2007
Letting ADO.NET Write Your SQL
Jun 8, 2007
Using C#'s yield to Return an Enumerable Collection
Apr 27, 2007
Using the My Feature in Visual Basic .NET
Sep 8, 2006
Programming with the BackgroundWorker Component in .NET 2.0
Apr 7, 2006
How to Use Partial Classes in Visual Studio 2005
Jan 13, 2006
Generic Classes in C# 2.0
Nov 11, 2005
Anonymous Methods in C# 2.0
Oct 28, 2005
Implementing an XML Section Handler in .NET
Sep 16, 2005
.NET Remoting: Handling Remote Server Events
Feb 11, 2005
Converting XML Nodes into Objects
Dec 10, 2004
Using Application Blocks for Data Access
Oct 22, 2004
A Roll of the Dice: Building a Small Game Using Windows Graphics Programming
Oct 1, 2004
Through the Looking Glass: Debugging Hosted .NET Applications
May 13, 2004
Listening to Trace Messages in NUnit
May 7, 2004
Instrumenting Your Code for Exception Management
Dec 23, 2003
What's .NET Remoting, And Why Should You Care?
Dec 12, 2003
Injecting Dynamic JavaScript to Focus ASP.NET Controls
Oct 10, 2003
Defining Add and Remove Accessor Methods for Events in VB.NET
Apr 18, 2003
Debugging .NET with NUnit
Mar 14, 2003
Dynamic Debug Code Management with BooleanSwitches
Feb 28, 2003
Creating Typed DataSets with XML Schemas
Jan 24, 2003
Fall Comdex 2002: .NET or .What?
Jan 10, 2003
Managing Session State for ASP.NET
Nov 15, 2002
Creating Project Templates in .NET
Oct 25, 2002
Creating Custom Attributes in Visual Basic .NET
Oct 11, 2002
Asynchronous Web Services
Sep 20, 2002
Inheritance and Polymorphism in VB.NET
Aug 9, 2002
Serializing Objects to a .NET DataSet
Jul 19, 2002
Implementing the Strongly Typed Collection in C#
Jul 5, 2002
Emitting MSIL with Reflection
Jun 28, 2002
Programming with Regular Expressions in C#
Jun 21, 2002
Creating Data-Enabled Web Pages using the DataList
Mar 8, 2002
Creating Visual Studio .NET Add-Ins
Mar 8, 2002
Lightweight Threading with Thread Pools in Visual Basic .NET
Mar 8, 2002
Understanding Delegates in Visual Basic .NET
Mar 8, 2002
Working with New Abstract Data Types in Visual Basic .NET
Mar 8, 2002
Storing Your Access Data
Feb 8, 2002
Adding Data to Web Pages
May 11, 2001

Sorry, this author hasn't posted any blogs.

Most of the time, your computer's CPU is sitting idle. Paul Kimmel shows how easy it is to use multithreading with the new BackgroundWorker component in .NET 2.0, so you can stop your bored gadgetry from wasting all that idle time.

Multithreading for Greater Productivity

If you’ve ever looked at your microprocessor’s performance in the Task Manager’s CPU usage history and list of processes, you might have noticed that your PC’s microprocessor’s most active task is the idle process. In fact, your CPU is most often in what we can only call the "relaxing" state. Even for developers with heavy-duty compilers, CASE tools, and UML tools, most of the computer’s hardware is underutilized; that is, software generally isn’t using most of the resources available.

One way to improve application performance and use more of your computer’s bandwidth is to add multithreading to your software. The problem historically is that many tools, such as Visual Basic 6, didn’t easily support multithreading. In general, multithreading has been the purview of only the most experienced programmers.

Not anymore.

.NET 2.0 introduces the BackgroundWorker component, which makes it easier than ever to incorporate multithreading into your applications, and I’m going to show you just how easy the component is to use.

  • Share ThisShare This
  • Your Account

Discussions

multithreadiung
Posted Nov 14, 2007 01:16 AM by madhavreddy08
0 Replies

Make a New Comment

You must log in in order to post a comment.

Related Resources

Jennifer  BortelWin FREE iPhone Developer Books and Videos- Introducing @InformIT Giveaways
By Jennifer Bortel on February 5, 2010 No Comments

Apples’s recent iPad announcement made our hearts flutter so we couldn’t resist making an announcement of our own!

Today marks the first ever @InformIT Giveaway!

We’ll regularly post a video like this one profiling spectacular prizes we’re giving away—from books and videos to T-shirts and other exciting stuff. Check out the video below to see the giveaways for today, and then scroll down for more prize details and instructions on how to win them!

Dustin Sullivan"Every OSX developer should have this book on their desk."
By Dustin Sullivan on February 1, 2010 No Comments

That was the sentence Mike Riley ended his recent Dr Dobb's CodeTalk review of Cocoa Programming Developer's Handbook with.

David ChisnallCocoa Tip of the Day, 1/29/10
By David Chisnall on January 29, 2010 No Comments

Don't ignore old versions of OS X.

See All Related Blogs

Informit Network