© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•12mo ago•
12 replies
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.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

fileSystemWatcher
C#CC# / help
4y ago
✅ FileSystemWatcher - avoiding buffer overflow
C#CC# / help
3y ago
ServiceFabric DataContract exception serialization and ServiceProxy.Create
C#CC# / help
2y ago
ServiceProvider not providing registered service [Answered]
C#CC# / help
4y ago