datacontract
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 分类:问答.NET - Is there the attribute [DataContract] for a Web Service?
note that I am not u开发者_Go百科sing WCF, i\'m only using ASP.NET web service. Anything similar?[详细]
2023-01-11 23:06 分类:问答Rolling my own CMS with the WCF, what should my contract be?
I\'m looking to create a solution for a asp.net mvc app that displays unstructured course descriptions that have been scraped from around the web. The web server will be on a web hosting company while[详细]
2023-01-11 14:47 分类:问答Sending own data collection in WCF
I have own collection DataContracts: [DataContract] public class DzieckoAndOpiekun { public DzieckoAndOpiekun() { }[详细]
2023-01-10 22:15 分类:问答Why does Visual Studio use backing fields for WCF Service References?
As many of you will be aware, I can use the DataContract attribute to mark a class for serialization into XML in a WCF service.[详细]
2023-01-09 15:38 分类:问答Associating a variable with a class in C# (for JSON)
I\'m having to grab API-provided JSON for a project of mine, and that means deserialising JSON using a class, and I\'ve chosen to go with DataContract classes. In any case, different URLs correspond t[详细]
2023-01-09 03:23 分类:问答Can I prevent a specific datamember from being deserialized?
I have a datacontract like this [DataContract] class MyDC { [DataMember] public string开发者_如何学Python DM1;[详细]
2023-01-09 02:35 分类:问答WCF data contract
I have a data contract and I defined some constant variables in it and have [DataMember] tag for each constant variables.开发者_如何学Go However, my client side does not retrieve those constant variab[详细]
2023-01-08 17:46 分类:问答WCF Data Contract / Serialization
I created a simple WCF application which expose one operation. This 开发者_运维知识库operation takes a composite data type as parameter.[详细]
2023-01-08 14:58 分类:问答How do I use methods in classes decorated with DataContractAttribute in a WCF Client?
I\'m writing a .net WCF service.I\'ve written a few classes that I want to return to the calling code from the WCF service; hence, I decorate them with the DataContract attribute.[详细]
2023-01-08 05:13 分类:问答