Home > DeveloperSection > Interviews > What are the types of contract available in WCF?

Posted on    April-16-2011 1:21 AM

 1 Answer(s)
  1541  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Posted on    April-16-2011 12:00 AM

The main contracts are:
a) Service Contract:Describes what operations the client can perform.
b) Operation Contract : defines the method inside Interface of Service.
c) Data Contract:Defines what data types are passed
d) Message Contract:Defines wheather a service can interact directly with messages

Don't want to miss updates? Please click the below button!

Follow MindStick