0
kicks
Creating a .NET Windows Service
The article details three different approaches to creating a .NET service. Most common is the timer-based service, which simply relies on a timer to invoke the background thread periodically. I also cover two other alternatives: using a single worker thread and using multiple worker threads. While the timer strategy is the simplest, the approaches using a single worker thread and multiple worker threads (specifically the multithreaded approach) offer some advantages.