datacontract
WCF - Can I use an existing type to be passed through my WCF service
I have a service.I have开发者_高级运维 an existing class of business objects.What I would like to know is how can I pass a class through WCF from the business object assembly without having to create[详细]
2023-01-07 22:04 分类:问答WCF DataMember List<> without enclosing element
The following DataContract: [DataContract(Namespace = \"http://namespace\", Name = \"Blarg\")] public class Blarg[详细]
2023-01-07 06:55 分类:问答System.Runtime.Serialization.InvalidDataContractException in production environment , not in test environment
I’m moving a web service from our test environment to our production environment, and am installing it under “services” The web service works fine in test, but in prod I get this error:[详细]
2023-01-06 16:54 分类:问答Custom serialization with DataContractSerializer
I\'m currently using wrapper classes for my DataSets ,in order to implement custom seri开发者_JAVA百科alization. I would like to use DataContractSerializer (more like have to use it) but still support[详细]
2023-01-05 13:37 分类:问答WCF Rest Multiple DataContracts Wrapped
So I am calling a wcf webservice using Rest WebHttp.I also have set up a second binding mex for testing. My method is working but when I try to test through fiddler or straight httppost through a clie[详细]
2023-01-05 05:19 分类:问答Using WCF with abstract classes
How do I define DataContract for abstract classes in WCF? I have a class \"Person\" which I communicate successfully using WCF. Now I add a new class \"Foo\" referenced from Person. All still good.[详细]
2023-01-04 16:49 分类:问答Clone LINQ To SQL object Extension Method throws object dispose exception
I have this extension method for cloning my LINQ To SQL objects: public static T CloneObjectGraph<T>(this T obj) where T : class[详细]
2023-01-03 19:18 分类:问答In WCF, is it better to have multiple operation contracts or to have only one operation with polymorphic data contract?
I was wondering if it was better in WCF to use multiple operation contracts or to have only one operation contract with a polym开发者_JS百科orphic data contract.[详细]
2023-01-03 01:38 分类:问答Is there a limit to the number of DataContracts that can be used by a WCF Service?
Using WCF3.5SP1, VS2008.Building a WCF service that exposes about 10 service methods.We have defined about 40 [DataContract] types that are used by the service.[详细]
2023-01-01 21:59 分类:问答WCF - DataContract that inherits from an interface
I have a datacontract as part of my WCF Interface that inherits from IIdentity: [DataContract] public class AuthenticationIdentity : IIdentity[详细]
2023-01-01 18:16 分类:问答
加载中,请稍侯......