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:

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

    ReplyDelete

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...