azure-mobile-services

Invalid update: invalid number of rows in section

余生颓废 提交于 2019-11-29 14:26:47
问题 I am working on a project using Microsoft Azure services . In that while deleting a row I am getting this error: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (2) must be equal to the number of rows contained in that section before the update (2), plus or minus the number of rows inserted or deleted from that section (0 inserted, 1

How can I determine whether I am connected to WiFi or a mobile network in Windows Phone 8.1 (Universal app)?

為{幸葍}努か 提交于 2019-11-29 08:03:10
I am working with a Windows Universal app (shared backend between Windows 8.1 and Windows Phone 8.1, not Silverlight). The app connects to Azure with Azure Mobile Services. In the settings for the app I would like to have an option for synchronisation to only occur over a WiFi network. How can I determine if the phone is connected to WiFi or a mobile network? Although from my research I have found ways to do this with older versions of Windows Phone and with Silverlight, it seems I can only determine if the device is connected to the internet in a Windows Universal app. I believe you can

Azure Mobile Services C# won't return child entities

我只是一个虾纸丫 提交于 2019-11-29 04:19:23
I'm really hitting a brick wall with the new C# based Azure Mobile Services, and it's really simple too :( I can't for the life of me get the query operation to return child property values. I have the todo item of the default project modified like this: public class TodoItem : EntityData { public TodoItem() { this.Numbers = new Collection<TodoItemNumbers>(new List<TodoItemNumbers> { new TodoItemNumbers{Value = 1}, new TodoItemNumbers{Value = 2}, new TodoItemNumbers{Value = 3}, new TodoItemNumbers{Value = 4}, new TodoItemNumbers{Value = 5}, }); } public virtual ICollection<TodoItemNumbers>

Difference between azure notification hub and azure mobile services

我是研究僧i 提交于 2019-11-28 18:41:30
What are the main differences between azure notification hub and mobile services Which is best to use when. Thanks Those services have a totally different purpose. Mobile Services allow you to provide a backend to (mobile) devices running your apps. Imagine a database that is exposed via a REST based API. You can react on CRUD operations by writing JavaScript code (Azure uses node.js for this purspose) and restrict the access to the database. This allows you to rapidly develop new apps (or at least proofs). Via JavaScript you can send push notifications by communicating the Windows

Where is the key in new Azure App service?

亡梦爱人 提交于 2019-11-28 13:35:09
While using the classic Azure Mobile services, you used to get a key along with a URL for your Mobile Service app. This key was also used to explore the APIs on your backend site & was used as a password. With new Azure App services all you need to instntiate the mobile service client is the URL like below private static readonly MobileServiceClient MobileService = new MobileServiceClient("https://thecityapp.club"); There is no key *a second parameter that was available with Azure Mobile services. What is now used as password to explore the APIs on the web? Supreet, With App Services/Mobile

How do I ignore default EntityData properties?

拜拜、爱过 提交于 2019-11-28 12:50:24
问题 I am creating an MVC mobile application service using Entity Framework I have created an Entity Model like so: public class Regions : EntityData { public string Id { get; set; } public string Name { get; set; } } and I have created a TableController so I query by making a get request to: http://localhost:3000/tables/Regions This returns an error saying: "exceptionMessage": "Invalid column name 'Id'.\r\nInvalid column name >'Version'.\r\nInvalid column name 'CreatedAt'.\r\nInvalid column name

Use SQL Server view in NEW Azure App Service

放肆的年华 提交于 2019-11-28 09:43:55
问题 I am new to Azure App Service. I've created a view in Azure database to get data across several tables. Now I want to use the data from this view in my Cordova App using the Azure Mobile Service (MobileService.GetTable...). I found several articles in the web that describe how to do that in Classic Azure Portal. But I need a solution for the NEW Azure App Service with Node.js Backend. What is the syntax to return data from a view as an Azure table? var table = module.exports = require('azure

Implement Custom Authentication In Windows Azure Mobile Services

非 Y 不嫁゛ 提交于 2019-11-28 08:45:44
Windows Azure Mobile Services currently doesn't have an option for custom authentication and looking at the feature request http://feedback.azure.com/forums/216254-mobile-services/suggestions/3313778-custom-user-auth It isn't coming anytime soon. With a .NET backend and a .NET application how do you implement custom authentication, so that you don't have to use Facebook, Google or any of their other current providers? There are plenty of partially completed tutorials on how this this is done with a JS backend and iOS and Android but where are the .NET examples? I finally worked through the

Azure Mobile Service query doesn't return all the rows

女生的网名这么多〃 提交于 2019-11-28 03:57:54
问题 I have a table called NameTable in my Azure Mobile Service. When I make the below mentioned calls in my client app (WP8 app using the Mobile Services SDK): var myTable = GetZumoService().GetTable<NameTable>(); var myList = await myTable.Where(nameInfo => nameInfo.IsTaken == false).ToListAsync(); myList always contains only 50 items although I know that there are more than 400 rows in the tables that match the query condition. What am I doing wrong? 回答1: By default the service will only return

azure notification hub tag limits

对着背影说爱祢 提交于 2019-11-27 20:42:15
reading the pricing details http://azure.microsoft.com/en-us/pricing/details/notification-hubs/ there seems to be a limit of number of tags used in a push. Broadcast (tag size) Limited to 10K Limited to 10K Unlimited # of tags (broadcast groups) Limited to 3K Limited to 3K 3 Unlimited Q1. so does that mean max tags per push is 10K? assuming that there is only 1 tag per device. Q2. is the number of tags stored unlimited? essential i need to map a tag to device id. And then send a bunch of tags in a send. sounds straight forward, but i cant determine of there is a limit. any help appreciated.