Unity Serialization Support for Serializable Proxies

Jun 3, 2011 at 4:27 PM
Edited Jun 4, 2011 at 12:32 AM

first approach here!
http://blog.odra.com.ar/2011/06/unity-serialization-support/

Mar 5, 2012 at 3:54 PM

I adedd datacontract support and uploaded the component to nuget.org. More info here: http://blog.odra.com.ar/2012/02/serialization-support-for-unity-interception/

Oct 1, 2013 at 7:22 AM
@zhoel I am using Unity with WCF client (ASP.NET Web API). Once the channel message is received by WCF client, message stream is handed to Unity; Unity does the serialization and resolve the mapped object. Our WCF hosted services are using DataContractSerializer. My current need is, to stop Unity from performing default DataContractSerialization (in the client-side) and hook my custom serialization (utilizes JSON.Net). Please let me know, how to hook custom serialzation in Unity.
Dec 23, 2013 at 7:28 PM
if you do not want your proxy to pass through the domain, you should not use the extension serialization, or at least get a copy of the object without intercept, to send to the server. You can do this with a simple facade pattern or segregating responsibilities, separating the client domain objects (which if intercepted) and service domain objects.
I apologize for the delay, but had long since entered, I hope to be in time to be of help