title: ASP.NET Core Web App as an Azure Service Bus Consumer/Receiver
body: <p>I'm new to Azure Service Bus and have just followed the MS guide at the link below, to get 2 .NET Core console apps running. One as a Sender and the other as the Receiver/Consumer.</p>
  
  <p><a href="https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dotnet-get-started-with-queues" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dotnet-get-started-with-queues</a></p>
  
  <p>What I need now, is to figure out how to configure a .NET Core MVC Web Application, to receive messages from a queue.</p>
  
  <p>Ultimately, what I want to end up with is 2 x .NET Core MVC Web Applications of which can both add messages to a queue, and both be able to receive messages off of a queue. One website might add a message to a queue for the other website, and upon that website picking that message up/consuming it, it might need to send a message back to the original website.</p>
  
  <p>I'm OK with the 'adding to the queue' side of it within the web application (as this will occur when certain events take place by the user), but my confusion is with the receiver/consumer side. How do I configure a web application to (as instantly as possible) pick up any messages that arrive on a particular service bus queue to process?</p>