known-types
KnownTypeAttribute in t4 file
I\'m trying to use some reflection in a .tt file, more specifically to determine the KnownTypes on a class. To do this I just use simple reflection, or rather want to use simple reflection, but when I[详细]
2023-04-05 00:10 分类:问答Abstract classes in client lib, and concrete class in shared lib
How do I solve the serialization problem with abstract class defined in a shared client library, and concrete implementation in a server side library.[详细]
2023-04-02 17:22 分类:问答How to Serialize list<objects> using DataContractSerializer
Library shared between server and client contains interface : [ServiceContract(SessionMode=SessionMode.Required, CallbackContract=typeof(IClient))][详细]
2023-04-02 08:48 分类:问答DataContractResolver / KnownType issue when custom class contains another custom class
I\'m trying to output a list of objects to a json format using the DataContractJsonSerializer class however I keep running into the following error.[详细]
2023-03-19 00:58 分类:问答WCF, return list of Known Types
I have a server side service called ConstructionManager, one of its operation is GetAll() which return a list of constructions. Construction is a data contract, and there are several types which inher[详细]
2023-03-15 01:15 分类:问答KnownType for all derived types of an abstract class?
We have an abstract class that is the base for a开发者_开发知识库 number of different requests we send over a WCF service. It\'s an ugly heinous hack that every time we add a new request we have to re[详细]
2023-03-10 19:42 分类:问答WCF Known Type error
I get this error when calling my service: Server Error in \'/\' Application. --------------------------------------------------------------------------------[详细]
2023-03-09 06:55 分类:问答WCF datacontract knowntype on base class
I have a data contract in a project (Comp.DataContracts) that doesn\'t need to know about any other projects. I have Comp.ProjA that references Comp.DataContracts and has a derived class that just hel[详细]
2023-03-08 05:21 分类:问答WCF - Object as known type -> interoperable?
Actually there should be a straight forward answer to this question (is about the \"Object\" property below):[详细]
2023-03-05 16:33 分类:问答WCF KnownTypes in Mono 2.10 / MonoTouch 4.0
I have an application that uses WCF. It runs great on Mono 2.8.2 on Ubuntu and .NET 3.0 on Windows. It decorates the WCF service contract with the \'ServiceKnownType\' attribute, which points to a me[详细]
2023-02-24 10:41 分类:问答