The contract is a platform-neutral and standard way of describing what the service does. WCF defines four types of contracts. Service contracts ,Data contracts ,Fault contracts ,Message contracts