¡@

Home 

c# Programming Glossary: serviceknowntype

Sharing Enum with WCF Service

http://stackoverflow.com/questions/187505/sharing-enum-with-wcf-service

an integral part of the service. Like this ServiceContract ServiceKnownType typeof MyEnum public interface IMyService OperationContract..

WCF service returning an array of dictionary<string, object>

http://stackoverflow.com/questions/2160052/wcf-service-returning-an-array-of-dictionarystring-object

my service class and methods with the KnownType and ServiceKnownType attributes but that didn't work. Here is a piece of code ServiceContract.. public class Service1 OperationContract ServiceKnownType typeof Dictionary string object public Dictionary string object.. InnerException for more details. Again I've played with ServiceKnownType for ObjectHolder ObjectHolder and even ObjectHolder since the..

Passing Interface in a WCF Service?

http://stackoverflow.com/questions/310160/passing-interface-in-a-wcf-service

WCF Known Type from System.Object in Config

http://stackoverflow.com/questions/3151242/wcf-known-type-from-system-object-in-config

an example. The following works fine ServiceContract ServiceKnownType typeof MyData public interface IContract OperationContract void.. public string Message get set But if I remove the ServiceKnownType attribute and put the following in the config system.runtime.serialization.. on DataContracts. There appears to be no way to implement ServiceKnownType in the config. An alternate approach is to use ServiceKnownType..

WCF, Interface return type and KnownTypes

http://stackoverflow.com/questions/6108076/wcf-interface-return-type-and-knowntypes

KnownType typeof Atm KnownType typeof List Atm ServiceKnownType typeof Atm ServiceKnownType typeof List Atm public class AtmFinderService.. Atm KnownType typeof List Atm ServiceKnownType typeof Atm ServiceKnownType typeof List Atm public class AtmFinderService IAtmFinderService.. Latitude 2 Longitude 2 I added all of the KnownType and ServiceKnownType attributes because i thought that there was something missing..