WPF .Net 4 LOB Application Framework
(Wikipedia: LOB)
Grepping for nuggets: (All the code is hosted in a Google Code SVN repository with “nugget:” comments to help me remember the highlights I’ve learned along the way this time around)
Highlights:
BackgroundWorkerEx.cs – “incremental search” -- ala Google (no “search” button to press)
- ~100 lines of simple wrapper around .Net BackgroundWorker and DispatcherTimer classes
- automatic WaitCursor handling (System.Windows.Input.Cursors.AppStarting is perfect UI for this purpose, it shows that something is going on with the wait spinner, but you also get a mouse pointer which tells the user they can still do stuff)
- implemented as Generic class as an elegant way for the client to provide a “state” object that gets handed back to the caller’s async event handlers