Windows Azure Mobile Services

Forum for Windows Azure Mobile Services' projects, problems, and questions. 

Announcements

  • Link

    Log Feature Requests on Uservoice

    Friday, November 02, 2012 5:48 AM

    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

  • Link

    KNOWN ISSUES AND WORKAROUNDS

    Paul Batum Sunday, October 21, 2012 7:03 PM

    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

    •         Root Cause: There is a mismatch between a cached version of a JavaScript file and a newly deployed version that prevents the script editor from displaying correctly.
    •         Workaround: Empty your browse cache and then reload the Windows Azure Portal.
    •         Status: Issue understood - we are preparing a fix for our next release.
  • Link

    Pre-release version of the new Managed Client - includes Windows Phone 7.5 and PCL

    Jeff SandersMicrosoft EmployeeWednesday, March 27, 2013 6:20 PM

    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




Filtering and SortingUse these options to narrow down the question and discussion list.

Items 1 to 20 of 47112345Next ›Last »
 
RepliesViews
 
Items 1 to 20 of 47112345Next ›Last »