Top "Datacontractserializer" questions

.NET Framework class, Serializing and deserializing an instance of a type into an XML stream or document using a supplied data contract.

DataContractSerializer doesn't call my constructor?

I just realized something crazy, which I assumed to be completely impossible : when deserializing an object, the DataContractSerializer doesn't call …

c# .net constructor serialization datacontractserializer
Generic WCF JSON Deserialization

I am a bit new to WCF and will try to clearly describe what I am trying to do. I …

.net wcf json serialization datacontractserializer
Exception: Maximum number of items that can be serialized or deserialized in an object graph is '65536'

I looked at others posts, but I didn't find solution to my problem. My service config file: <?xml version="1.0" …

c# visual-studio-2010 wcf serialization datacontractserializer
DataContractSerializer: How to serialize classes/members without DataContract/DataMember attributes

DataContractSerializer requires classes and members to be marked with the DataContract and DataMember attributes. However, in my case the classes …

entity-framework serialization datacontractserializer efpocoadapter
WCF Client having problems recognizing ServiceKnownTypes?

How would I tell the WCF service what KnownTypes to use when passing data back to the client? I know …

wcf datacontractserializer datacontract serviceknowntype
How to serialize class type but not the namespace to a Json string using DataContractJsonSerializer

I'm trying to serialize a class hierarchy to a Json string using DataContractJsonSerializer, in a WCF service. the default behaviour …

c# wcf json serialization datacontractserializer
wcf deserialize enum as string

I'm trying to consume a RESTful web service using WCF. I have no control over the format of the web …

c# .net wcf enums datacontractserializer
DataContractSerializer - change namespace and deserialize file bound to old namespace

I have a data class that is serialized with the DataContractSerializer. The class uses the [DataContract] attribute with no explicit …

c# .net datacontractserializer
WCF Datacontract, some fields do not deserialize

Problem: I have a WCF service setup to be an endpoint for a call from an external system. The call …

wcf datacontractserializer
DataContractSerializer serializing List<T> getting error

I am currently trying to serialize a List, it serializes (I think fine), but when it deserialize, Sorry for the …

c# serialization datacontractserializer