Synchronize a long-running task to the UI-Thread in WPF/.NET

This post explains how to process data from a task in WPF in a way I’d consider “best-practice”. The main code could or should be in the view-model. Code-behind (keep it short or better yet use a delegate command) And the code in the view-model: StartSearch() is a method in the view-model class and sets… Continue reading Synchronize a long-running task to the UI-Thread in WPF/.NET