There is a famous issue with WCF which is serializing IList as array (instead of list) to the client. There are also known solutions which can be applied when the client is using svcutil or the Visual Studio IDE for creating the service reference for the client.
However, we are using ChannelFactory to generate a service proxy to the client at run time. In other words, we don’t use svcutil nor the IDE to create a reference to the service.
Is there an appropriate solution to this problem with this scenario?
There is a famous issue with WCF which is serializing IList as array (instead
Share
Sounds like you’re trying to do something similar to what I describe in my answer to a question on IList with NHibernate & WCF. Since you are sharing the contract assembly between the service and the client, the List deserialization code will also be shared. I have used this technique with a ChannelFactory approach successfully, hope it works for you.