WPF MVVM - Correct way to use web service asynchronously
I have implemented MVVM in my WPF application. I was wondering how to properly use a Web service from an MVVM WPF application.
So far, I have created a DataAccess interface and a class that implements this interface. This will serve as a phase / proxy for the web service. The ViewModel receives a reference to this class as a constructor parameter, so it can make any calls to get / set data, in which case it will be a web service call. I would appreciate it if you could direct me with some tips and / or direct me to some online resource.
+2
a source to share