What are contracts in wcf?



What are contracts in wcf?..

Answer / Meenu Sagar

In WCF, a contract defines the service behavior, including the operations that the service can perform and the data types used for input and output parameters. There are three types of contracts: Service Contract (describes the public interface of the service, including the operations that it supports), Data Contract (defines the data types sent across the service boundary), and Fault Contract (specifies how faults will be handled).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WCF Interview Questions

Give the address format of all the bindings in wcf.

1 Answers  


What is .net 3.0?

1 Answers  


What is the difference between xmlserializer and the datacontractserializer?

1 Answers  


What is transport reliability in wcf?

1 Answers  


WCF:Do the system-provided bindings have the support for the Reliable session and what the binding options are enabled by default?

1 Answers  


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

1 Answers  


What is "service contracts" in wcf?

1 Answers  


WCF:Could the ExactlyOnce property of the netMsmqBinding be true if the queue is not transactional?

1 Answers  


What is the "contract" property of endpoint in wcf?

1 Answers  


WCF:What is it the Teredo? How can we use it?

1 Answers  


Do we have to use the relative addresses when hosting in the iis or the absolute addresses? Why?

1 Answers  


WCF:Could the two-way service operations be used with queued binding?

2 Answers  


Categories