Whats the best way to return a
List<object>
back to the server? The below solution requires that the Server already know the object. Im wondering if its possible to declare the object on the Client side and just get the Server to write the results when the List is returned.
- Declare the class in the Server with the necessary fields and
[DataMember]
and[DataContract]
attributes. Use it in the Client via Add Service Reference.