Hey All
WCF is being a pain. I've finally got some of my services working, but it seems that they struggle to return complex entities. For example, I have the following function in a service:
List<Pair<DateTime, Double>> getInfo(...);
where Pair<T, V>
is defined via a data contract in the service.
However, when using this function in a service, instead of returning the expected List<Pair<DateTime, Double>>
, it returns PairOfdateTimeDouble[]
which I can only assume is a class it generated for me. However, this class doesn't help me at all, because I can't get anything out of it! Can anyone help?
Thanks
M