none
List<string> not being received by service RRS feed

  • Question

  • I have created WCF REST service, and I want to send across a class which looks like this

    [DataContract(Namespace = "")] public class ABC { [DataMember (Order = 0)] public long Id { get; set; } [DataMember (Order = 1)] public List<string> Resources { get; set; }

    [DataMember (Order = 2)]

    public CustomObject customeObject {get; set;} }

    The problem I am facing is that while the ID and CustomObject get received properly, however the List<string> does not get received at all. Any help will be greatly appreciated.

    Wednesday, September 18, 2013 6:05 PM

Answers