Edit: Please note my question is different from the one shown by the editor. I have no problem sending an IEnumerable or IDictionary in general but I have issues with sending them, containing interfaces.
I wonder whether ServiceStack has problems serializing or transferring IEnumerables of interfaces? Actions that return other objects such as DTOs or strings do not cause any problems but when I try to return IEnumerable<IWhateverInterface>
then an empty enumerable arrives on the client end. I verified that the enumerable is containing desired elements right before the Action within the Service returns them thus the only issue I see is with the serialization or sending part.
I made sure to reference the interface in all concerned classes.
Anyone who could shed light into this?
Thanks