My app uses Azure Mobile Services (.NET Backend), and I can write data in the DB with no problems at all.
The problem is this: when I try to read data with ToCollectionAsync() called on a MobileServiceTable object I receive a null object. It should not be null, since there is some data in the table.
What might be the reason? The domain class on mobile service is identical to the "local" domain class. If this is not sufficiently weird, please consider this: after inserting an element in the table the ToCollectionAsync() returns a non empty collection. To refresh the data I call await tableVar.ToCollectionAsync(); Any idea?