hi what is the easiest way to implement asynch operations on WPF and MVVM, lets say if user if user hits enter when on a field i want to launch a command and then return back wh
How about a BackgroundWorker instance to call your command on the VM ?
Update: Scratch the above suggestion.. There's an online video on MVVM by Jason Dolinger.. I recommend you take a look at that. It's a cleaner way where the view is thin/ does not hold any threading code.
To summarize:
_dispatcher.BeginInvoke( () => _results.AddRange( entries) )
so that the UI is updated correctly.