Azure Mobile Services Failed to retrieve [ComplexType] from .net backend

With current Azure Mobile Services on the .NET Backend, there is a problem when you use the [ComplexType] property on an EntityData object.

eg:

public class TodoItem : EntityData
{
    public string Text { get; set; }

    public bool Complete { get; set; }

    public ExampleComplexType Example { get; set; }
}

[ComplexType]
public class ExampleComplexType
{
    public string X { get; set; }
}

      

use this with the sample TodoItemController and the database will be created just fine and the data can be inserted / updated / etc. However JSON returned from GetAllTodoItems () refuses to return an example.

Any thoughts?

+3
json mobile service


source to share


No one has answered this question yet

Check out similar questions:

five
Serializing JSon using azure mobile
4
Get a nested complex type model from Azure Mobile Apps
2
Azure.NET Backend by Scratch?
1
Mobile Azure Service C # .NET Backend PATCH not updating
1
How to use AspNet.Identity in an Azure Mobile app
1
Example of sending JSON from Windows Azure Firewall
0
Different sql results between "Azure Mobile Services" and "Azure App Service"
0
Azure Mobile App and Xamarin
0
Issues with azure mobile app service from wpf app
0
Multiple Entries in Azure Mobile Service



All Articles
Loading...
X
Show
Funny
Dev
Pics