Harry wrote:
Ok.
We may have a few different possible solutions at this point.
These of course have just raised more questions.
So, if would be so kind as to help explain some wcf stuff to me I would greatly appreciate it!!
You said:
So if you're using WCF, you always have to use XML anyway, so you should pass the trackers separately, as a workaround. Is this sufficient? (the interface for WCF is different from the remoting interface anyway)
My resident wcf lead says that we are using netcp and according to him that means we are sending binary messages. Now, if this is the case then I should be seeing the RemovedEntitiesTracker collections on the receiving end of the transmission.
His question is:
Does LLBL override some functionality in WCF to produce xml instaed of Binary for transport?
All transport in WCF is xml based. That's also why there's an upgrade path from remoting to WCF: it will be XML. HOW it is send over the wire, that's up to the transport layer, but what is send is XML. Check the WCF remoting article in the MSDN by Ingo Rammer, it explains the details about it and that there's no remoting in WCF (though supported in .NET)
LLBLGen Pro doesn't override things to convert data to XML instead of binary: it implements IXmlSerializable, which is used by WCF to produce the XML from the objects, similar to the webservices code in .net to produce XML from the objects. Remoting uses different code, it's a completely different framework, however as both frameworks (wcf and remoting) use 'serialization' as the word for what they're doing with the data, it is confusing
Next Question:
Does LLBL provide a means to compress the xml before and decompress the xml after transmissions in wcf?
Thanks again!
No, you should do that through wcf. All LLBLGen Pro does is produce XML through IXmlSerializable by using the passed in xmlwriter. What happens with the XML, that's up to the platform used: if it's WCF, it will likely be threated differently than when it's a webservice, but nevertheless, it's XML.