What is a service contract, operation contract and data contract?



What is a service contract, operation contract and data contract?..

Answer / Rizwan Alam Khan.

In WCF (Windows Communication Foundation), contracts define the terms of communication between services and clients. A Service Contract defines the operations that a service provides, an Operation Contract describes the parameters and return type of each operation, and a Data Contract specifies the data types for messages exchanged between the service and client.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net AllOther Interview Questions

how can we achieve language interoperability through CLS? How MSIL works?

1 Answers   EDS,


Explain the race around condition? : .NET Architecture

1 Answers  


Name some changes done since version 3.0?

1 Answers  


What is the difference between absolute expiration and sliding-time expiration?

1 Answers   MindCracker,


1. How to restrict a class from allowing to create only one object. I.e., one should be allowed to create only one object of the class type.

1 Answers   247Customer, FinEngine, TCS,


Define a virtual memory? : Dot net architecture

1 Answers  


How can we perform data binding in atlas?

1 Answers  


how to manage session in webgarden ?

3 Answers   Binary Logics, Ness Technologies,


inprocess vs out process session state : Dot net architecture

1 Answers  


hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays

0 Answers  


What is .net viewstate?

1 Answers  


What is .net mobile images control. : Microsoft dot net mobile

1 Answers  


Categories