Easy Multi-Threaded Design in VS via an Add-In


[Via Michael Harsh]

One of the prototyping guys at MS, Roland Fernandez, has created a VS.NET 2003 add-in to make multi-threaded programming easier. 


The premise is that you write your app just as you normally would if it was all running on the UI thread, then adorn the methods you want to run on a background thread with a simple attribute.  At compile time, the add-in reads the attributes and generates the code necessary to run your code on a background thread.


Read the article and download the code and installer from http://www.windowsforms.net/articles/easythread.aspx


 – mike


Looks pretty cool! – Josh

Comments (3)

  1. Kingsley Tagbo on Data Mining and .NET says:
  2. This add-in allows you to create a multi-threaded app at compile time, wouldn’t you rather have it done at design time so you can access the source code?

  3. jledgard says:

    Actually it looks to me like it just creates the code for you. Giving the same effect as if you had written the code at design time. It’s more of a code generation tool.