I am trying to use DataContractSerialization on WPF and WP7. A开发者_开发百科ll things are good on WPF but not on WP7. When I tryed to serialize an object on wp7, I received an unknown security except
I\'m using XmlDictionaryWriter to serialize objects to a database with data contract serializer. It works great, both size and speed are 2 times better then using text/xml.
I\'m trying to use ASMX/WCF to pass objects between sites (public / private).I can get the serialized object from my private ASMX service to my public WCF service, but I can\'t deserialize the object.
I\'m having a problem in that I\'m using an LdapConnection to make requests against an AD LDS (formerly known as ADAM) datastore.Fine.But now requirements have come along to be able to \"remotely\" do
I have a Restaurant object, which contains a Menu.The Menu contains MenuItems. Via the Entity Framework Code First, I created a database and stored a single Restaurant in it, which has a single MenuI
I suddenly started getting this from my Windows Phone 7 app.I don\'t know what changed in the data I was deserialization that would have caused this.Any idea what it means?
I have the following 2 functions: public static string Serialize(object obj) { DataContractSerializer serializer = new DataContractSerializer(obj.GetType());
We have some code that was generated, mostly likely by svcutil from an XML schema (xsd).We don\'t seem to have the original schema that was used, so we are hoping to reverse the process.I think the XS
I trying to serialize a custom type which holds a dictionary among o开发者_开发技巧ther members. The types associated with key and value of the dictionary are interfaces which are implemented.
How do you set the PreserveObjectReferences property on a 开发者_开发问答DataContractSerializer?You can\'t. The PreserveObjectReferences property doesn\'t actually do anything and was probably left in