WCF Interview Questions Part_3

Previous Questions

7) What is a service contract, operation contract and Data Contract?
Ans)
ServiceContract :
ñ  Describes which operation client can perform on the services
ñ  Indicates that an interface or a class defines a service contract in a application
     operation contract:
ñ  Indicates that a method defines an operation that is part of a service contract
      Data Contract :
Defines which data type are processed  to and from the services, It provides built in contract for implicit type


Previous Questions
Previous Questions

7) What is a service contract, operation contract and Data Contract?
Ans)
ServiceContract :
ñ  Describes which operation client can perform on the services
ñ  Indicates that an interface or a class defines a service contract in a application
     operation contract:
ñ  Indicates that a method defines an operation that is part of a service contract
      Data Contract :
Defines which data type are processed  to and from the services, It provides built in contract for implicit type


Previous Questions