azure-mobile-services

How to get system properties __CreatedAt, __Version in javascript backend of Azure Mobile services?

安稳与你 提交于 2019-12-13 07:26:22
问题 I am trying to explicitly get the system properties from my table but it is not working. I can see that the URL is returning all the data including these fields if I use https://myservice.azure-mobile.net/tables/todoitem?__systemProperties=* but on the code I cannot get it as item.__version or item.version. I have tried adding todoitemtable = WindowsAzure.MobileServiceTable.SystemProperties.All; but no success! I have also looked at http://azure.microsoft.com/en-us/documentation/articles

Adding an asp.net MVC page along with Azure Mobile services

女生的网名这么多〃 提交于 2019-12-13 07:00:54
问题 I have backend(e.g. https://api.myapp.com) based on the Azure Mobile services(AMS), now I need 1. add one or two apis that doesn't require to be on AMS e.g. an heartbeat controller to check that service is online or not, that doesn't require Zumo Auth 2. an ASP.net MVC page(e.g. https://www.myapp.com) that explains about the application Can I use the existing AMS to do this, I tried to add plain asp.net web api, but getting error that end point doesn't exist 回答1: Are you truly using Azure

Azure Mobile Services Scheduled Delete From Table

青春壹個敷衍的年華 提交于 2019-12-13 06:27:06
问题 Can anyone help me with how I go about writing a script to delete the records from a Mobile Services table from a scheduled task? I want to clear the leader board every day and a scheduled task seems the best way to go about doing this but the documentation seems a little sketchy. I have created the schedule but don't know how the modify the script to delete all the rows in the table. I looked here and here but they haven't really shed any light. Many thanks, Jason. 回答1: The easiest way to

Azure Mobile Services or ASP.NET MVC 4 Web API

纵然是瞬间 提交于 2019-12-13 06:19:58
问题 I've built an ASP.NET MVC 4 app with standard database query tasks and user authentication. Now I want to upload it to Windows Azure and build Windows 8 and Windows Phone client applications. Is it better to use Azure Mobile Services or ASP.NET MVC Web API for these tasks? I have used the Simple Membership Provider for user security, so I'm not sure how can I use it with Mobile Services. Any advices? 回答1: I don't think you can use anything aside from Live Connect/FB/Google/etc when dealing

JWT token isn't validated even if it's correct using Microsoft.Azure.Mobile SDK

删除回忆录丶 提交于 2019-12-13 05:02:32
问题 I'm using Microsoft.Azure.Mobile SDK for implementing Server code. Code in OWIN startup is as below: public void ConfigureAuth(IAppBuilder app) { HttpConfiguration config = new HttpConfiguration(); new MobileAppConfiguration().ApplyTo(config); app.UseAppServiceAuthentication(new AppServiceAuthenticationOptions { SigningKey = ConfigurationManager.AppSettings["SigningKey"], ValidAudiences = new[] { ConfigurationManager.AppSettings["ValidAudience"] }, ValidIssuers = new[] { ConfigurationManager

POST for Azure Mobile/Web App (working from Arduino)

99封情书 提交于 2019-12-13 04:29:01
问题 I want to find samples of how to work with Mobile/Web App by sending POST. Previously in Mobile Services it was possible to send POST like this: POST /tables/table_name HTTP/1.1 Host: http://arduinounoserver.azure-mobile.net/ X-ZUMO-APPLICATION: YaRWxxxxzKGRxxxxLPiNxxxxXYOvxxxx {"value": 234} But now authentication was absolutely changed. How to do it now and is it possible to find somewhere POST samples? Have found only Table Service REST API but it's still not clear for me 回答1: you can

Error while processing request in AzureMobile Apps HTTP2 error

半城伤御伤魂 提交于 2019-12-13 04:00:27
问题 This question is specific to a lately strange behavior of the Azure mobile Apps Android sdk. Everything was working fine for weeks. Now, my android client app suddenly can't connect to my web app any more. A Toast says "Error while processing request". In Android Studio debugger, I found the exception inside the SDK file MobileServiceConnection.java. java.io.IOException: stream was reset: PROTOCOL_ERROR In Azure Portal, my app shows "Healthy" status, but I can see the HTTP errors. Please help

how to Pull data with paramter using Azure Offline Sync?

你离开我真会死。 提交于 2019-12-13 03:35:30
问题 I have schema as below and I would like to know if I can get all the TaskCategoryMappings by CategoryId when I have to pulll all data. I went through the documentation here but I cant figure out how to do it ? All the examples are like this one based on UserId. but userid is used for also authentication and on the server side I already handle it fine to return only mappings belong to relevant user and i want in adition to filter by CategoryId? another SO sample is here also using userId

Hideous performance using Azure mobile services MobileServiceSyncTable

不羁的心 提交于 2019-12-13 02:32:48
问题 I have a mobile service sync table that is giving me absolutely HORRENDOUS performance. The table is declared as: IMobileServiceSyncTable<Myclass> myclassTable; this.client = new MobileServiceClient("my url here"); var store = new MobileServiceSQLiteStore(“localdb.db”); store.DefineTable<Myclass>(); this.client.SyncContext.InitializeAsync(store); this.myclassTable = client.GetSyncTable<Myclass>(); Than later in a button handler I’m calling into: this.myclassTable.ToCollectionAsync(); The

Azure Mobile Services with Existing Database (without Schema changes)

陌路散爱 提交于 2019-12-13 01:58:55
问题 As a disclaimer I warn that there may be malformed understandings going on here, hopefully not, but maybe. The Situation: There is an existing Windows VB Timesheet Application that deploys on customers Windows devices (not RT). This application creates a local SQL express store and synchronises with an Azure SQL DB via SQL data sync. The Azure SQL DB further sychronises with a master DB (also via SQL data sync) that is stored locally where I am contracted, the master data is typically only