What is contract? What are the types of contract?



What is contract? What are the types of contract?..

Answer / Dinanath Benbanshi

In WCF, a Contract defines the service operations and data structures (messages) that can be exchanged between the service and its clients. There are two types of contracts: Service Contract, which specifies the operations the service provides, and Data Contract, which describes the format of the data passed between the service and its clients.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WCF Interview Questions

What is callback mode in wcf? Explain.

1 Answers  


What is wcf api?

1 Answers  


Describe the wcf architecture?

1 Answers  


What is wcf architecture?

1 Answers  


do you know what is endpoint in wcf? : Wcf data services

1 Answers  


explain what are the main components of wcf? : Wcf data services

1 Answers  


What is service proxy in wcf?

1 Answers  


Which bindings are used for metadata configuration in wcf?

1 Answers  


What is the basic difference between creating WCF service or WEB services?

1 Answers   Petranics Solutions,


What are the transport schemes supported by wcf? Give example of address for each scheme.

1 Answers  


Describe the various endpoints in wcf?

1 Answers  


What are the types of bindings in wcf?

1 Answers  


Categories