Related resources for DataContract
  • Using String-Based Enums in C#6/10/2024 8:02:49 AM. In many applications, it is necessary to represent enumerations with string values rather than their default integer values. This can be particularly useful when working with JSON, XML, or other data
  • WCF (2), Contracts In Various Types4/28/2021 8:59:13 AM. In this article, you will learn how to describe WCF Contracts in Various Types.
  • QueryString to Object (Custom Properties)9/25/2019 12:37:36 AM. In this article I have described how to handle a QueryString with minimal effort using the features of C#, reflection and generics.
  • What a DataContract and DataMember Are in WCF: Part 59/12/2019 5:19:15 AM. In this article, we learn what datacontract and datamember are in WCF.
  • Understand WCF: Part 10: Attributes of DataContract and DataMember9/11/2019 4:22:55 AM. In this article, we will see how to add attributes to a Data Contract and Data Member.
  • WCF Programming for Beginners8/29/2019 2:08:04 AM. This article provides the basics for programming the WCF Service.
  • WCF Opt-In Vs. Opt-Out: Day 88/14/2019 3:54:33 AM. In this article we will discuss two different approaches i.e. Opt-In and Opt-Out used by DataContractSerializer and XMLSerializer. We will also see the difference between DataContractSerializer and XM
  • WCF Serialization Part 2: Day 78/14/2019 3:43:56 AM. In this article, we create an application, in this application we use a DataContractSerializer to serialize and deserialize data. We also see how we can use SvcUtil.exe
  • WCF Serialization Part 1: Day 68/14/2019 3:19:21 AM. In this article, we will discuss serialization in WCF. Default serializer in WCF and different kinds of serializers WCF supports.
  • WCF - Data Contract - Day 48/14/2019 2:24:24 AM. This article explains about DataContract, DataContractAttribute and DataMemberAttribute. It also explains the properties of DataContractAttribute and DataMemberAttribute.
  • Data Contracts In WCF9/4/2018 2:24:01 AM. This article explains Data Contracts In WCF. Data Contract is an agreement between the client and server about the structure of data being exchanged.
  • Convert JSON To Strongly Typed Object Using DataContract In C#6/30/2016 12:44:50 AM. In this article, you will learn how to convert JSON to strongly typed objects using datacontract in C#.
  • KnownType Attribute in WCF3/30/2015 12:22:08 PM. This article explains how to use a known type in WCF and provides a basic understanding of WCF and DataContracts as the prerequisites.
  • Basics of DataContract12/8/2010 4:25:01 PM. DataContract is under namespace System.Runtime.Serialization. During design time, DataContract Attribute is used to indicate which class should be represented as XSD.
  • Serialize Object Using Json9/7/2010 2:37:40 AM. If you want to serialize any object to or from JSON (JavaScript object Notation). You can use DataContractJsonSerializer's WriteObject and ReadObject methods to serialize and deserialize respectively.