• +91 9723535972
  • info@interviewmaterial.com

WCF Interview Questions and Answers

Related Subjects

Question - How will you explain the data contract in WCF?

Answer - A data contract is a formal agreement between the server and the client between whom data is exchanged securely. It could be defined either implicitly or explicitly based on the requirement. It will define the format, structure, and type of data to be exchanged between parties. It will define the process of how can data be serialized or deserialized. This is a versioning system that helps to manage changes for structural data. [code] [DataContract] Public class cuboidInfo { } [/code] Here, in the example, we have given the general syntax for the data contract. It will provide complete data abstraction at a new level like never before.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners