Dat werkt toch net even anders als het klinkt..

Als je denkt POCO.. en trek je namelijk snel de conclusie dat het geen probleem met WCF is.. nou.. niets is minder waar... dat werkt niet zomaar. En wel hierom:

The POCO proxy type cannot be directly serialized or deserialized by the Windows Communication Foundation (WCF), because the DataContractSerializer serialization engine can only serialize and deserialize known types. The proxy type is not a known type. For more information, see the Serializing POCO Proxies section in the Working with POCO Entities (Entity Framework) topic. To serialize POCO proxies as POCO entities, use the ProxyDataContractResolver class to map proxy types to POCO types during serialization.

Hier een oplossing: http://msdn.microsoft.com/en-us/library/ee705457.aspx

Tijdens het troubleshooten (WCF genereert uiteraard geen duidelijke foutmelding) kwam ik nog wat leuke tools tegen die handig zijn met WCF troubleshooting:

WCF testclient: http://msdn.microsoft.com/en-us/library/bb552364.aspx

WCF logging: http://msdn.microsoft.com/en-us/library/ms732023.aspx

Related articles

  • Cloud Native
  • Application Navigator
  • Kubernetes Platform
  • Digital Workspace
  • Cloud Infrastructure
  • ITTS (IT Transformation Services)
  • Managed Security Operations
  • Multi-Cloud Platform
  • Backup & Disaster Recovery
Visit our knowledge hub
Visit our knowledge hub
Flores Eken Software engineer

Let's talk!

Knowledge is key for our existence. This knowledge we use for disruptive innovation and changing organizations. Are you ready for change?

"*" indicates required fields

First name*
Last name*
Hidden