I have a WP7 (Windows Phone 7) project that I am working on which I have used the MVVM approach. I want to now add a background agent to periodically check for new data from a remote server. In my model, I have a method that I need to call from the background agent. The problem is is that I don’t have anyway of getting a reference to the model in the background agent. I am using the MVVM light project. Has anyone got any ideas on how to solve this?
Thanks
You can seperate your model object into a separate project
So in this example, you application and the background projects would reference the model project.