Reputation: 648
Are there any good sample UI applications which illustrate multi threading best practices in .net?
The scenario I am thinking of is a graphically rich scorecard where the kpi's are being updated from several different sources and threads.
Although I am interested in WPF a Winforms sample application would I believe serve just as well as they are both single-threaded apartment based.
Thank you.
Upvotes: 1
Views: 1305
Reputation: 28586
Google is your friend :)
http://www.codeproject.com/KB/user-controls/AlternateMultithreadedGUI.aspx
http://srtsolutions.com/blogs/charliesears/archive/2008/07/23/multithreading-in-c.aspx
a lot of examples here: http://www.c-sharpcorner.com/Articles/ArticleListing.aspx?SectionID=1&SubSectionID=149
Upvotes: 4