Contract available in the WCF

Illustrate the various types of contract available in the WCF?




The key contracts are as described below:

a) Service Contract: Explains what operations the client can carry out.

b) Operation Contract: It states the method within the Interface of Service.

c) Data Contract: It states what data types are passed.

d) Message Contract: It states whether a service can interact directly with the messages.

   Related Questions in DOT NET Programming