Browse by Tags

All Tags » WCF (RSS)

Unit testing WCF data contract serialization.

WCF service define "data contracts" for their interfaces. These contracts are often defined in an XML schema document and used to generated WCF data contract code. This process effectively creates a .NET type that will serialize to a chunk of...
Posted by PeterRitchie | 1 comment(s)
Filed under: ,

DataContractSerializer.ReadObject is easily confused.

With WCF services you need to declare contracts and generate contract classes that encapsulate those contracts.  Most of the time you can simply let the framework deal with whatever it needs to do to deal with these objects.  Sometimes, you...
Posted by PeterRitchie | 1 comment(s)
Filed under: , ,