azure-mobile-services

Azure Mobile engagement vs Mobile services

让人想犯罪 __ 提交于 2019-12-25 17:07:58
问题 It seems there is lot of overlap between features provided by both of these services: contextually-aware smart push notifications in-app messaging across all connected devices. Should we prefer Mobile Engagement over Mobile Servies? 回答1: It depends on what features you want. Also, don't forget Azure Mobile Apps - an extension to Azure Web Apps (Azure App Service) that has the same mobile properties as Azure Mobile Services, but with App Service advantages. If your needs are more in-line with

Azure Mobile engagement vs Mobile services

泪湿孤枕 提交于 2019-12-25 17:07:43
问题 It seems there is lot of overlap between features provided by both of these services: contextually-aware smart push notifications in-app messaging across all connected devices. Should we prefer Mobile Engagement over Mobile Servies? 回答1: It depends on what features you want. Also, don't forget Azure Mobile Apps - an extension to Azure Web Apps (Azure App Service) that has the same mobile properties as Azure Mobile Services, but with App Service advantages. If your needs are more in-line with

update table in Azure Mobile Service

こ雲淡風輕ζ 提交于 2019-12-25 14:41:00
问题 How to update particular record in azure mobile Service. For Example I have a table in azure called country having two columns country_id country_name If I want to update the record with country_id=5 from USA to United State of America. How to Perform this. //Global Variable private MobileServiceCollection<country, country> items; private IMobileServiceTable<country> todoTable = App.MobileService.GetTable<country>(); class country { public string id { get; set; } public string country_name {

Azure mobile app query inner join with java

二次信任 提交于 2019-12-25 07:19:08
问题 I want to use an inner join query with Java and Azure mobile apps, but it looks like api does not let it do operations among the tables. Is there any way to do it? List<ToDoItem> result = table.where() .field("complete").eq(false) .execute().get(); As you see, all the operations are over a table. 回答1: @shanks, There is a similar SO thread Implementing table joins in the Mobile Apps Node.js backend using SQL which has been answered and you can refer to. Assumption that using Node.js as the

MobileServices.web.js unauthorized api call

早过忘川 提交于 2019-12-25 04:08:20
问题 When I leave my WinJS app dormant for a while and then come back to it, and i click on a button, for some reason my calls to my backend aren't working. I get an "Unauthorized" error from the server. How do I modify the invokeApi so that it reauthenticates the user or something? Does anybody have any experience using mobileservices.web.js and how to keep the end user perpetually logged in without having to reauthenticate themselves? Thankyou. client.invokeApi("getTopForumsTotal", { method:

No 'Access-Control-Allow-Origin' header is present on the requested resource. from mobile services

爱⌒轻易说出口 提交于 2019-12-25 03:34:17
问题 I created a simple vanilla ToDo from azure mobile template to test the service but don't seem to work correctly. I can connect to https://phonegapwil.azure-mobile.net from localhost with mobile services but not after I published site, http://phonegapwil.azurewebsites.net/ error message I get: XMLHttpRequest cannot load https://phonegapwil.azure-mobile.net/tables/todoitem?$filter=(complete%20eq%20false). No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http

Specific value from azure mobile services table

有些话、适合烂在心里 提交于 2019-12-25 02:22:22
问题 I have a data table which looks like id name age emailId X bill 20 bill@abc.com y john 19 bob@abc.com on client side application public class myTabble { public string Id { get; set; } [JsonProperty(PropertyName = "name")] public string name { get; set; } [JsonProperty(PropertyName = "age")] public int age { get; set; } [JsonProperty(PropertyName = "email")] public string email { get; set; } I am trying to store the name of the user having email id bob@abc.com by var names = await todoTable

Azure mobile service using aad “The 'Bearer' HTTP authentication scheme is not supported” error

橙三吉。 提交于 2019-12-24 21:02:11
问题 I have an Azure mobile service setup and have followed the examples online for authenticating. I call AuthenticationContext.AcquireToken and get back a token. Then I set the header using: HttpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", AquireAccessToken()); However I am getting a 401 back and in the Azure logs I am getting "The 'Bearer' HTTP authentication scheme is not supported". What am I missing? 回答1: If you are using a service to call the mobile

create user in azure active directory after login with facebook

二次信任 提交于 2019-12-24 18:44:09
问题 I have an azure mobile app (Xamarin android) that uses authentication/authorization with facebook, everything is setup and working on my mobile app, I’m able to authenticate with facebook and get an access token. with that access token I login in azure mobile services using the following code MobileServiceClient Client; var facebookToken = AccessToken.CurrentAccessToken.Token; var token = new JObject(); token["access_token"] = facebookToken; var user = await Client.LoginAsync

create user in azure active directory after login with facebook

China☆狼群 提交于 2019-12-24 18:42:50
问题 I have an azure mobile app (Xamarin android) that uses authentication/authorization with facebook, everything is setup and working on my mobile app, I’m able to authenticate with facebook and get an access token. with that access token I login in azure mobile services using the following code MobileServiceClient Client; var facebookToken = AccessToken.CurrentAccessToken.Token; var token = new JObject(); token["access_token"] = facebookToken; var user = await Client.LoginAsync