I need to create some Windows Service App (C#) that should perform several periodically executed and binded to each other tasks like:
- Watch for folder changes.
- Send files to Web Services (Web API).
- Write Log and keep it in local DB.
So I am wandering if I can just use "quickly and dirty" approach and implement all this using BackgroundWorker
class or I have use more sophisticated stuff like Tasks
y etc (.NET Windows Service - Architectural Decisions). Or event there are some frameworks to do it.
Any advice about possible modern and clean structure of that application would be nice to hear. Thank you very much!