Reputation: 169
I would like to be able to start a number of concurrent processes (command line programs) on Azure remotely. I need to be able to make a call from a C# program to start these processes off. What would be the best approach to this?
Is there an easier way to do this using Azure though? I am not familiar with Azure VMs or worker roles etc.
Thanks!
Upvotes: 0
Views: 314
Reputation: 136196
You could make use of Azure Worker Roles and Windows Azure Storage for that purpose. What you could do is either package the executables along with the worker role package so that they are always available in your role or you could save them in blob storage so that you can download on demand into your worker role. From your calling application, you can put messages in a queue which will be constantly polled by your worker role. The message will contain enough information (for example exe to invoke etc.). Once the message is received, the worker role will execute the executable.
Hope this helps.
Upvotes: 1