Reputation: 1899
I need some architecture guidance here.And if anybody can please give me an overview of how it can be done and i will figure out rest of stuff myself.
So from my WINRT App i am capturing an image and sending the image to Azure tables. I am storing image in blob and image path in table.
So whenever the image is inserted into azure tables, a service [or whatever it is a bus , a queue..] should call a C# program [This C# program takes the image and other parameters from table and does shape recognition].
I know Steps 1 and Steps 4. How do i do go around with Step 2 and Step 3?.Where should i put my C# program so that azure tables can call it?
Upvotes: 0
Views: 84
Reputation: 8392
One option would be a worker role hosting a WCF service. The worker role host your C# program and take care of step 3 the WCF service will provide the means for step 2 and your flow would look something like:
So from my WINRT App i am capturing an image and sending the image to Azure tables. I am storing image in blob and image path in table.
Client (WinRT app) makes a call to the WCF service after image is sent to initiate step 3.
Web service call executes your shape recognition code asynchronously.
After that Azure will send an push notification to device if image matching % is greater than 90%. [i know this is a simple script].
Upvotes: 1