A possible place to add
Timers is inside a common service. This service should have an interface to expose the Timer functionality and its implementation could be placed, for example, in an
Infrastructure project. As the services are singletons, you will always get the same Timer instance. The common services are usually registered in the container in your
Bootstrapper class to make it available through all the application.
For more information related to services and container you can review the following topics in the documentation:
Container and Services
If you want perform a background activity in response to a user event, you may consider using the
Event Aggregator service. This service allows you to subscribe to events in a background thread using the
MyEvent myEvent = eventAggregator.GetEvent<MyEvent>()
For more information related to the
Event Aggregator service check the following topics in the documentation:
How to: Subscribe and Unsubscribe to Events
How to: Create and Publish Events
Please let me know if this helps.