datacontractserializer
Store linq-to-sql objects in session, or alternate solution
I am storing my session on a session-state server. (Storing it inproc doesn\'t work.) I am trying to use the classes generated by the linq-to-sql-designer built in to visual studio (2010) for objects[详细]
2023-03-17 04:26 分类:问答How do I serialize read-only objects in silverlight?
I\'m having a problem now: for serializing/deserializing an object which has only getters marked as public with DataContractSerializer I have to use [InternalsVisibleTo] attribute and to make setters[详细]
2023-03-15 21:45 分类:问答Data Contract Serializer mandates super class to know about subclass
I got this problem, \"The deserializer has no knowlege of any type that maps to this contract\" After googling, I reac开发者_运维知识库hed this post[详细]
2023-03-15 13:31 分类:问答Extension method to serialize generic objects as a SOAP formatted stream
I\'m having a hard time trying to figure out a generic extension method that would serialize a given object as SOAP formatted. The actual implementation looks somewhat like this:[详细]
2023-03-14 02:56 分类:问答How do I choose between Xml serialization, DataContractSerializer and LINQ to XML for serializing a tree of simple objects?
I need to serialize a tree of simple objects as XML to/from a file – the world has changed since I last had to do this…[详细]
2023-03-13 14:47 分类:问答Serialization error when calling WCF service
When I call the service I receive this error: Element ListadoClientesResult from namespace tempuri.org cannot have child contents to be deserialized as an object. Please use XmlNode[] to deserialize[详细]
2023-03-13 06:11 分类:问答What's the practical way of serializing an instance of subclass by using DataContractSerializer?
What\'s the practical way of serializing an instance of subclass by using DataContractSerializer? For example, here are the data types:[详细]
2023-03-13 03:30 分类:问答Collections repository implementation with the ability to handle serialization
I have several collections that all look the same but operate on different types of collection items, like this:[详细]
2023-03-12 10:28 分类:问答C# Entity Framework lazy loading if not detached
I am trying to do some process against every object in my EntityFramework OnSave.Part of this process involves turning the object into a Binary object. It is taking FOREVER to Serialize and I am about[详细]
2023-03-08 18:10 分类:问答WCF CallbackContract requires generated Interface instead of the one I specified in ServiceContract?
I have a Service that does a typical implementation of a CallbackContract like the following: [ServiceContract(SessionMode = SessionMode.Required, CallbackContract = typeof(INerveCenterCallBack))][详细]
2023-03-06 18:37 分类:问答
加载中,请稍侯......