I have a simple solution with three projects:
- Asp.Net MVC4 Web Application - Main Site
- Console Application - Task Runner
- Console Application - Task Runner
I want to use MassTrasnsit for the queue, so that actions on the website (for example, sending emails) do not block the website, but publish in the queue and take care of tasks.
My question is: Where should I initialize the queue, the web application, one of the participants in the tasks, or create a separate console application for it?
ps. Console applications will work with windows on production servers.
source share