This is my scenario, I have created a worker role on Azure and created an SQL Database and a Mobile Service.
The database is shared between my worker role and my mobile service.
My worker role fetches information from the web and if it finds something I want to send a push notification using my mobile service.
My question is, how can I send a push notification of the first item in my table when my worker role inserts the data into the table?
My applications is a Windows 8 application
*UPDATE: Trying to follow this guide but always resulting in internal server error 500 when trying to post
you can use the REST API as suggested by Marco, or if the logic in your worker role is not that complex, you can move the push notification to the Windows Azure Mobile Services Scheduler instead:
have a look at this: Send Push Notifications at Periodic Interval with the Mobile Services Scheduler