datacontract
help invoking wcf service
I am trying my hands on creating and consuming wcf services. when i try to call a service operation that expects a data contract as a request, it gives me a compile time error. It says that data contr[详细]
2023-01-24 08:53 分类:问答WCF custom DataContract/DataMember and CA1811: Avoid uncalled private code
I got a WCF service, and one of the return objects is: [DataContract] sealed class Class1 { [DataMember] public int Prop1 { get; private set; }[详细]
2023-01-23 10:20 分类:问答Is there any way to override what string value my custom type gets converted to when serializing via DataContract?
In my music/rhythm game, I using serialization in order to save user-created simfiles (think music tabs or notecharts). Nothing too earth-shattering there. But, I\'m using a DataContract in order to p[详细]
2023-01-22 12:58 分类:问答What is the preferred way to implement serializable classes in C#
I\'ve seen many different ways to serialize objects in C# that I\'m not sure which one to use and when.[详细]
2023-01-19 16:00 分类:问答Why cant I use lambda when serializing DataContract?
Made som mo开发者_JAVA技巧ck code below to illustrate my example. The problem is the lambda expression. If I leave it as in the code example it will not serialize when I try to call the service. Howev[详细]
2023-01-19 07:55 分类:问答Data Contract for a class with fields being user defined classes itself
I am Using WCF service to implement my web-service I have problem when I try to call my function which takes URL as input parameter and returns an object class which was defined by me.[详细]
2023-01-19 01:41 分类:问答Entity Framework POCO with WCF software design question
I am going to use Entity Framework and WCF in my application. The suggested practice, as I saw, is using POCO with Entity Framework and also using POCO classes as DataContracts. That is actually what[详细]
2023-01-17 12:03 分类:问答How can I use internal constructors in public data contracts?
I\'ve got several data contract classes like this: [DataContract] public class FooData { [DataMember] public string Name;[详细]
2023-01-14 10:24 分类:问答WCF: Data contract being converted to message contract
My WCF service exports a single operatio开发者_Go百科n, marked with the catch-all action and reply action so that it represents a common entry point to the service:[详细]
2023-01-14 10:15 分类:问答Using WCF DataContract in MVC SessionState using AppFabric cache
I have a Data Access Layer, a Service Layer, and a Presentation Layer. The Presentation Layer is ASP.NET MVC2 RTM (web), and the Service Layer is WCF (services). It\'s all .NET 3.5 SP1.[详细]
2023-01-13 17:44 分类:问答
加载中,请稍侯......