I have an N-tier structure composed of WCF nodes. I need to occasionally pass very large volumes of data from a terminal node to the top node and I would like to avoid deserializing the very large data field during the intermediate hops. I can’t pass directly to the top due to our fall over strategy. Is there any way to avoid deserializing my field? Thanks for any help
Share
Maybe you can do something with a [OnDeserializing] event?
See this.
Also, the serialization events are covered in ‘Programming WCF Services‘ (2nd Ed) by Juval Lowy in Chapter 3, pgs 107-110.
I’m not sure if you can completely short-circuit deserialization though… I’ve never tried.