Monday, August 16, 2010

Do you know?

All WCF services expose Contracts. The contract is never platform-specific and contracts describes what the service actually does. WCF defines four types of contracts:


[1] Service contracts - Describe which operations the client can perform on the service.
[2] Data contracts - Define which data types are passed to web service and which data tyes retrieved from the service.
[3] Fault contracts - Define which errors are raised by the service, and how the service handles the errors to its calling clients.
[4] Message contracts - Allow the services to interact directly with messages.

No comments:

Post a Comment