title: Setup RabbitMQ consumer in ASP.NET Core application
body: <p>I have an ASP.NET Core application where I would like to consume RabbitMQ messages.</p>
  
  <p>I have successfully set up the publishers and consumers in command line applications, but I'm not sure how to set it up properly in a web application.</p>
  
  <p>I was thinking of initializing it in <code>Startup.cs</code>, but of course it dies once startup is complete.</p>
  
  <p>How to initialize the consumer in a the right way from a web app?</p>