We have an application in WPF that shows data via ObservableCollection. After 5 minutes, I want to refresh the data.
I thought I could use the System.Timers.Ti
This answer explains the problem with using the Timer vs DispatcherTimer when updating the UI. https://stackoverflow.com/a/2258909/1698182
I have not tried this but for periodic work items that will use a thread do the bulk of the work this looks like it will do the trick. http://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj248676.aspx
Why not use a DispatcherTimer? That will "tick" in the dispatcher thread already.
Beyond that, it's hard to say what's wrong just from your description of "there's a problem with the threads".