views:

58

answers:

1

I am in the process of porting some .net remoting code to WCF.

Can I safely assume that all classes that are Serializable and works as .remoting method parameters will work with WCF using the binary message encode?

If not is there a “rule of thumb” that I can use to estimate what problems I will hit?

+2  A: 

Yes - in general. Be wary however of the default limits for the size of objects (64K members in total). Also be aware of the 'KnownType' attribute for types that are outside of the current assembly.

Jeremy McGee
KnownType is also used to provide hints for polymorphic return values.
Yann Schwartz