Answered by:
How to Use Windows Azure Mobile Service SDK from Worker Role

Question
-
Hello,
I had a change to try out Windows Azure Mobile Services. What i want to do is; from a Windows Azure Worker Role, i want to consume Mobile Service classes but there is no way i can access Microsoft.WindowsAzure.MobileServices namespaces. I already installed Windows Azure Mobile Service SDK.
How can i add reference to Windows Azure Mobile Service namespace with in Worker Role.
Sunday, October 28, 2012 12:24 PM
Answers
-
Hi,
The current SDK targets Windows 8 applications and iOS clients only. However, the Mobile Services HTTP API is very easy to use and is how most people communicate with a Mobile Service from a web or worker role.
Here is the reference for our REST API: http://msdn.microsoft.com/en-us/library/windowsazure/jj710108.aspx
This post should also be useful: http://www.strathweb.com/2012/09/using-azure-mobile-services-in-your-web-apps-through-asp-net-web-api/
Josh
http://twitter.com/joshtwist
- Marked as answer by aerbey Monday, October 29, 2012 10:53 AM
Sunday, October 28, 2012 11:18 PM -
Hi,
the Windows Azure Mobile Services has s SDK for Windows 8, iOS, and Windows Phone 8, because it is a technology used in frontend technologies and not in another Windows Azure service.
So referencing a namespace will not work in a Windows Azure Worker Role. What you could try is to use the operations offered by thehttp://msdn.microsoft.com/en-us/library/windowsazure/jj710108.aspxBest Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.
- Proposed as answer by Josh Twist (MSFT) Sunday, October 28, 2012 11:18 PM
- Marked as answer by aerbey Sunday, October 28, 2012 11:33 PM
Sunday, October 28, 2012 9:34 PM
All replies
-
Hi,
the Windows Azure Mobile Services has s SDK for Windows 8, iOS, and Windows Phone 8, because it is a technology used in frontend technologies and not in another Windows Azure service.
So referencing a namespace will not work in a Windows Azure Worker Role. What you could try is to use the operations offered by thehttp://msdn.microsoft.com/en-us/library/windowsazure/jj710108.aspxBest Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.
- Proposed as answer by Josh Twist (MSFT) Sunday, October 28, 2012 11:18 PM
- Marked as answer by aerbey Sunday, October 28, 2012 11:33 PM
Sunday, October 28, 2012 9:34 PM -
Hi,
The current SDK targets Windows 8 applications and iOS clients only. However, the Mobile Services HTTP API is very easy to use and is how most people communicate with a Mobile Service from a web or worker role.
Here is the reference for our REST API: http://msdn.microsoft.com/en-us/library/windowsazure/jj710108.aspx
This post should also be useful: http://www.strathweb.com/2012/09/using-azure-mobile-services-in-your-web-apps-through-asp-net-web-api/
Josh
http://twitter.com/joshtwist
- Marked as answer by aerbey Monday, October 29, 2012 10:53 AM
Sunday, October 28, 2012 11:18 PM -
Josh - is the documentation correct for the web service? Does the Login operation support only 'Live ID' or all the full set of authentication tokens supported?
Thursday, November 8, 2012 7:43 PM -
Hi Joe,
Our REST API documentation hasn't quite caught up yet but we now support facebook, google, twitter and microsoft account (live id).
Josh
http://twitter.com/joshtwist
Saturday, November 10, 2012 12:40 AM