datacontractserializer
DataContract serialization throw an Security exception
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[详细]
2023-02-19 04:19 分类:问答.NET binary XML with pre-shared dictionary
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.[详细]
2023-02-17 06:05 分类:问答Problem passing object between WCF and ASMX using DataContracts
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.[详细]
2023-02-17 04:00 分类:问答Serializing a .NET type from an LdapConnection
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[详细]
2023-02-14 17:25 分类:问答Empty Collection using Entity Framework Code First
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[详细]
2023-02-14 08:50 分类:问答"The resource MultipleIdDefinition was not found" on deserialization on Windows Phone 7
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?[详细]
2023-02-11 20:26 分类:问答Using DataContractSerializer to serialize, but can't deserialize back
I have the following 2 functions: public static string Serialize(object obj) { DataContractSerializer serializer = new DataContractSerializer(obj.GetType());[详细]
2023-02-11 04:59 分类:问答Can svcutil (or any other utility) convert CS back to XSD?
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[详细]
2023-02-11 00:03 分类:问答StackOverFlowException during Serialization
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.[详细]
2023-02-10 10:49 分类:问答Silverlight: How do you set the PreserveObjectReferences property on a DataContractSerializer?
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[详细]
2023-02-10 05:32 分类:问答