I implemented several different types of background workers running under ASP.NET, but I wondered which approach is recommended / best suited.
In the data store (in this case mongo db), I have a queue of actions that I need to process.
The queue will grow depending on certain actions in an ASP.NET MVC application.
I want to run a background thread / worker thread that continuously processes these queued items.
Is it as simple as starting a background worker in an application launch event or running it on a timer?
early
Sam
source share