azure-mobile-services

Set JArray values with invalid key value: “version”. Int32 array index expected

守給你的承諾、 提交于 2019-12-23 03:30:34
问题 I created with offline sync option using azure mobile services. Everything worked fine at the beginning. I inserted several rows and I came back to my app after couple of days when I tried to make an insert into my table. I am getting the error message as System.ArgumentException: Set JArray values with invalid key value: "version". Int32 array index expected. at Newtonsoft.Json.Linq.JArray.set_Item (System.Object key, Newtonsoft.Json.Linq.JToken value) [0x00028] in <filename unknown>:0 at

The request could not be completed. (Internal Server Error) at Microsoft.WindowsAzure.MobileServices.MobileServiceHttpClient

泄露秘密 提交于 2019-12-23 03:15:10
问题 I have a Xamarin.Forms app which is connected to an Azure Mobile Service backend. I am in the process of upgrading my (migrated) mobile service to an app service according to this documentation. I have added my easy tables to my new app service and I can see the data records in the Azure portal. But when I make any call to this new app service via my app it results in the following error: Microsoft.WindowsAzure.MobileServices.MobileServiceInvalidOperationException: The request could not be

The request could not be completed. (Internal Server Error) at Microsoft.WindowsAzure.MobileServices.MobileServiceHttpClient

对着背影说爱祢 提交于 2019-12-23 03:14:11
问题 I have a Xamarin.Forms app which is connected to an Azure Mobile Service backend. I am in the process of upgrading my (migrated) mobile service to an app service according to this documentation. I have added my easy tables to my new app service and I can see the data records in the Azure portal. But when I make any call to this new app service via my app it results in the following error: Microsoft.WindowsAzure.MobileServices.MobileServiceInvalidOperationException: The request could not be

Locally Testing Azure Mobile Auth - invalid jwt signature

大城市里の小女人 提交于 2019-12-23 02:45:14
问题 I am playing with an Azure Mobile Apps backend (nodeJS), as discussed here. I have been using the default web setup configuration to develop my mobile app, but now I want to customise the cloud backend functionality, so I have created a local backend with the Azure-Mobile-Apps SDK. I logged in with my mobile app (using the authorization aspect of the Azure client SDK) and then captured the AuthToken. I then constructed a Postman HTTP POST request, with these headers: ZUMO-API-VERSION = 2.0.0

Authentication with custom authenticator via Azure Mobile Services and cordova app

人盡茶涼 提交于 2019-12-23 02:26:07
问题 I am building a phone app using Cordova/Phonegap and an Azure Mobile Services backend. I need to use a custom authenticator since this is integrating with a current software product. I built the server side using info from http://azure.microsoft.com/en-us/documentation/articles/mobile-services-dotnet-backend-get-started-custom-authentication/ I set config.SetIsHosted(true); in WebApiConfig From the client, I seem to be authenticating fine and getting back a valid token, but I'm not sure what

Enabling Authentication with SIgnalR against Azure Mobile Services and a Javascript client

最后都变了- 提交于 2019-12-22 11:17:00
问题 I am having a heck of a time trying to figure out how one is supposed to have AMS authentication with SignalR while using a JavaScript client. I downloaded the JavaScript client for Azure Mobile Services, I've got Signal R on AMS - that's all hooked up and ready to go. I've got the authentication setup. I can actually call .login("microsoftaccount") on the AMS JS client and go through that process and get back a token and id. What I don't know is how to connect the two. I tried just calling $

How to retrieve user's additional information from Azure Mobile/App Services?

孤街醉人 提交于 2019-12-22 01:17:32
问题 I need to get the user's extra information from social accounts like Facebook and Google+. When I first read about Azure Mobile Services I thought it to be the holy grail of social authentication. Well, after a full week of hair pulling I'm starting to reconsider my first impression. It does authenticate as easily as it could possibly do. I configured Google+ and FB to work with Azure, configured Azure to use the key/secret from each provider and it all just worked. I was able to login

How to add simple authentication to azure mobile/web apps with Azure Active Directory?

…衆ロ難τιáo~ 提交于 2019-12-22 00:28:03
问题 My goal is to secure my mobile app custom API methods and use then via httpclient(c#). As a part of the testing I used Postman to request a token and use it to access the resource. 回答1: I will explain with the vanilla template that comes when creating a new Mobile App. Create a new mobile app. Publish it to Azure. Open it on Azure portal, Go to Settings blade. Find Authentication / Authorization . Turn App Service Authentication to On and select Azure Active Directory>Express>Create a new AD

Neo4j in Azure mobile services

你离开我真会死。 提交于 2019-12-22 00:16:22
问题 I have been trying to use a Neo4j database as my database in an Azure Mobile service. I was following this tutorial and I cant seem to get it to work. Basically what the tutorial does is: Creates a VM hosted by Azure, running ubuntu and neo4j. Creates an Azure mobile service with an SQL table. Writes an insert script for the SQL table that uses node.js to connect to the Neo4j VM and past the data there. Unfortunately mine does not seem to work. The data gets posted to the mobile services SQL

Azure/Xamarin Mobile App Hangs at SyncContext.InitializeAsync

牧云@^-^@ 提交于 2019-12-21 21:38:28
问题 So, I had a working xamarin forms app that used azure mobile services. I upgraded the server side to use mobile app service and upgraded the nugets in my client to use the latest and greatest client codes. I manually updated my test/ios simulator sqlite db to use the proper column names for the system properties since they dropped the double underscore prefix. When I finally got it all built and tried to run in the ios 6/8.3 simulator it ran fine until it hit the InitializeAsync method. It