MSMQ on Azure Site

I have an existing ASP.NET web service (asmx) that I am trying to move to Azure. The registration component of the web service registers messages with MSMQ and there is a Windows service that reads the message and updates the database.

Is this possible using the Azure Web APP (websites)? Will the web service code be able to create message queues at runtime and can insert messages into it?

+3


source to share


1 answer


MSMQ is not available as an Azure service and you cannot create a Windows service with App Service. What you can do is use a storage queue instead of MSMQ with minimal impact to your web service code. Replace the Windows service with a WebJob that will run when a new message is sent to the queue. You will need a little refactoring, but it shouldn't be too bad.



Here is the link you started with: https://azure.microsoft.com/en-us/documentation/articles/websites-dotnet-webjobs-sdk-get-started/

+5


source







All Articles