Detecting UI Thread Misuse

One of the challenges in building a UI application is correctly using the UI thread.  This is a shared resource, and so any misuse has the potential to have global application effect. The most common form of misuse is using the UI thread for a long period of time.  In severe cases this causes the…

1

Performing Bulk Modifications To a Databound Collection

On a WinForms project in the past we were working on scalability and performance.  One of the things we discovered was that individually invoking items to the UI thread was a bottleneck. The theory is that the each time one does a BeginInvoke it adds a message to the Message queue.  This adds overhead.  If…

1