Forum for Windows Azure Mobile Services' projects, problems, and questions.
We are happy to announce that you can now log feature requests for Mobile Services on Uservoice. We would love to hear your feedback about the features we should be looking into:
https://mobileservices.uservoice.com/forums/182281-feature-requests
Thanks.
Dinesh
Folks,
The following issues have been reported by some of you and are being addressed by Windows Azure team. None of these issues affect the health of running mobile services or availability of your data. We apologize for the inconvenience these issues cause you as you develop your apps. The goal of this post is to simplify finding workarounds, as we address the issues.
ISSUE: Unable to edit scripts in the Windows Azure Portal - the spinner displays indefinitely
This is NOT for production code but will allow you to preview upcoming changes and comment in the forum.
Please start using the new libraries and let us know what you think!
Check out Johan's blog: http://www.johanlaanstra.nl/?p=217
and Carlos' breaking changes: http://blogs.msdn.com/b/carlosfigueira/archive/2013/03/14/azure-mobile-services-managed-client-upcoming-breaking-changes.aspx
Some gotcha's converting a phone 8 project:
Pay attention to the breaking changes section!
For instance add DataContract and DataMember to your class definition:
[DataContract] public class TodoItem { [DataMember] public int Id { get; set; } [DataMember(Name = "text")] public string Text { get; set; } [DataMember(Name = "complete")] public bool Complete { get; set; } }
and collection view now looks like this:
private async void RefreshTodoItems() { try { // This code refreshes the entries in the list view be querying the TodoItems table. // The query excludes completed TodoItems items = await todoTable .Where(todoItem => todoItem.Complete == false).ToCollectionAsync(); ListItems.ItemsSource = items; } catch (Exception theEx) { string str = theEx.Message; } }
To use MobileServiceIncrementalLoadingCollection in Windows Store apps (TodoItem sample):
Change Items to this:
private MobileServiceIncrementalLoadingCollection<TodoItem,TodoItem> items;
And then get then assign it to your member 'items' like this:
items = todoTable.Where(todoItem => todoItem.Complete == false) .ToIncrementalLoadingCollection(); ListItems.ItemsSource = items;
-Jeff