Thursday, June 23, 2005

Using Threading to Build a Responsive Application with Visual Studio 2005

Using Threading to Build a Responsive Application with Visual Studio 2005

"Summary: Building multi-threaded applications is easy with the new BackgroundWorker component in Visual Studio 2005, and it allows you to create interactive applications with minimal work. (11 printed pages)

...

Introduction
One of the most powerful features introduced with Visual Basic .NET was the ability to create multithreaded applications. Many Visual Basic developers did not take advantage of this newfound power because of the complex nature and challenges for developing a multithreaded application. ..."


This is one of the things I'm looking forward to in VS2005/.Net 2.0. With multi-core chips being standard items in the coming years, multi-threaded apps will not be an extra but a must.

Sure, you can do it in .Net 1.0/1.1, but it takes too much plumbing and it's too easy to screw up your winform vs worker thread communication, etc. I want to code business related stuff, not basic infrastructure stuff (well sometimes I like doing that too, but you get the idea)...

2 comments:

Anonymous said...

FYI, you can get a version of BackgroundWorker for 1.1:
http://www.idesign.net/idesign/DesktopDefault.aspx?tabindex=5&tabid=8#CSharp

Greg said...

Nice... Thanks.