C#C
C#11mo ago
McMahone

FileSystemWatcher Service

Hi! I'm building a background service that monitors file paths and uploads new or modified files to blob storage. The service should auto-start on boot, process changes since the last run, and automatically restart after crashes. I want to store the state to track processed files and prevent duplicate uploads while resuming operations seamlessly.

I'm looking for guidelines and best practices for building a such application. Any advice on libraries, tools, or strategies for robust state handling, error management, and ensuring reliable auto-restart mechanisms would be greatly appreciated.
Was this page helpful?