I have a WCF service with a method (GetUserSoftware) to send a list to a client.
software that I defined as follows:
[DataContract]
public class Software
{
public string SoftwareID { get; set; }
public string SoftwareName { get; set; }
public string DownloadPath { get; set; }
public int PackageID { get; set; }
}
the method goes through my db to get all the software available for clien and generates a list to send back to the client.
Problemis that I'm on the client side the list turns into an array. and every element in this array does not contain any attributes of my software.
I am debugging my way through the server. and it’s clear that the list he is about to send is correct. with the expected software and attributes in it.
Does anyone know how to get around this or know what I can do?