Wednesday, May 19, 2010

Do You Know? [19-May-2010][036] [ASP.NET - WCF Contracts]

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.

0 comments: