Explain about contracts?



Explain about contracts?..

Answer / Neelam Kumari

In WCF (Windows Communication Foundation), a contract defines the service's behavior and the types that are used for communication. There are three types of contracts: Service Contract, Data Contract, and Operation Contract. A Service Contract specifies the service operations and requirements; Data Contract describes the data structures exchanged between the client and the service; Operation Contract defines the methods available in the service.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WCF Interview Questions

What is transport and message reliability?

1 Answers  


can you explain how to define a service as rest based service in wcf? : Wcf data services

1 Answers  


WCF:What hosting functionality is unique for the Vista OS?

1 Answers  


What are different elements of wcf services client configuration file?

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  


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

1 Answers  


Why to use wcf? Or what are the advantages of using wcf?

1 Answers  


Why to use wcf?

1 Answers  


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

1 Answers  


How can we create proxy for the wcf service?

1 Answers  


What are the transport schemas does WCF supports?

1 Answers  


We have already 2 hostings iis and self hosting. There is another hosting ie was hosting. What is the use of the was(windows activation service) compared to other hosting?

1 Answers  


Categories