serviceknowntype Questions

5

Solved

I have the following: [ServiceContract] [ServiceKnownType(typeof(ActionParameters))] [ServiceKnownType(typeof(SportProgram))] [ServiceKnownType(typeof(ActionResult<SportProgram>))] public in...
Rental asked 3/9, 2009 at 23:28

3

Solved

How would I tell the WCF service what KnownTypes to use when passing data back to the client? I know I can use the [ServiceKnownType] attribute, which makes the service call run fine from a WCF Te...
Bridgetbridgetown asked 1/10, 2010 at 15:6

4

Solved

I'm trying to implement a service contract that contains a method which takes a generic interface, and that generic interface itself is given an interface parameter. I've decorated the service inte...
Thalassa asked 26/7, 2010 at 17:22

1

Solved

I am having a little trouble understanding ServiceKnownType in WCF. Taken from this blog, the following code does not work: [DataContract(Namespace = “http://mycompany.com/”)] public class Shape{...
Vial asked 3/5, 2010 at 12:45
1

© 2022 - 2024 — McMap. All rights reserved.