datacontracts
Service contracts vs. domain objects
Say I have two interfaces to my application: A web front-end A back-end which provides data Both of them talk to a web-service, and that web-service in turn, handles business logic and talks to a[详细]
2023-03-26 02:39 分类:问答A strategy to add more datacontracts/DTOs to a WCF Service without recompiling the Service Project/Solution
I am currently developing a WCF service that will evolve over time to include new DTOs. I am currently using MEF withing the service implementation to export the webservice object. I have the WCF serv[详细]
2023-03-17 04:44 分类:问答WCF Serialization Information outside class definition
Suppose this simple scenario: My client has an already working .net application and he/she 开发者_StackOverflowwants to expose some functionality through WCF. So he gives me an assembly, containg a pu[详细]
2023-03-12 14:03 分类:问答Wcf datacontract for classes in a library which i cannot modify
hi i have a class library that which performs methods and has a lot of different classes which it uses as parameters for the methods calls...[详细]
2023-02-18 15:27 分类:问答Is there any way to hide/flatten base types in WCF service data contracts?
Consider the following simple example: [DataContract(\"{0}Base\")] public class Base<T> where T : Entity<T>[详细]
2023-01-12 08:51 分类:问答DataContractSerializer KnownType attribute not being respected?
I have a class that is decorated with a KnownType attribute with a type of the class.Is this not allowed?[详细]
2022-12-27 16:26 分类:问答Which types cannot be used for WCF?
I know for a matter of fact that Type cannot be used when passing in to开发者_如何学编程 a WCF service. Does anyone have a complete list?I\'m not sure anyone bothered compiling a list, and i\'m not su[详细]
2022-12-24 14:04 分类:问答Business enum to DatContract Enum conversion in WCF
I have an enum namespace Business { public enum Color { Red,Green,Blue } } namespace DataContract { [DataContract][详细]
2022-12-23 02:59 分类:问答Passing delegate with return type other than void in thread
I want to pass a delegate with the return 开发者_JAVA技巧type as ArrayList as parameter of thread and want to store the values in an ArrayList as well. Any help in this regard will be appreciated.Inst[详细]
2022-12-22 08:52 分类:问答How does Google Analytics prevent traffic spoofing
We want to embed an ajax style service into a number of our websites each with a unique api key. The problem that I can see is that because the api key is stored in the javascript file the user could[详细]
2022-12-22 07:34 分类:问答