FeedBack Form

Your Name :
Your Email :
Your Location :
Your Message :
   
FeedBack

WCF INTERVIEW QUESTION and ANSWERS PDF

1. What are the types of contracts in Wcf?
 
  • Service contract
  • Data contract
  • Message contract
  Posted by Gaurav Rastogi. (Mar 03, 2014)
 
  • Service contract
  • Operation contract
  • Fault contract
  • Fallback contract
  • Message contract
  Posted by Sadhu Veeranjaneya Swami. (Nov 21, 2013)
 

Operation Contract.

  Posted by Afaq. (Nov 18, 2013)
 

Fault Contract.

Your Name Your Email-ID
Your Answer
 
2. What are the advantages of WCF?
 
  • WCF is interoperable with other services when compared to .Net Remoting,where the client and service have to be .Net.
  • WCF services provide better reliability and security in compared to ASMX web services.
  • In WCF, there is no need to make much change in code for implementing the security model and changing the binding.
  • WCF has integrated logging mechanism, changing the configuration file settings will provide this functionality.
Your Name Your Email-ID
Your Answer
 
3. Define service contracts?
  Service contracts define the operations that a service will perform when executed. They tell the outside world a lot about the service such as message data types, operation locations, the protocols the client will need in order to communicate with the service, and the operations the service provides.
Your Name Your Email-ID
Your Answer
 
4. Define message contracts?
  Message contracts allow the control of SOAP messages that are produced and consumed by WCF. Basically it boils down to being able to customize the format of contract parameters and the placing of elements within a SOAP message, or in other words, having control of the structure as well as the contents of a SOAP message.
  Posted by Gaurav Rastogi. (Mar 03, 2014)
 

Service contract are those contract which basically contain our operation contract which can be exposed to the clients.

Your Name Your Email-ID
Your Answer
 
5. Define data contracts?
  Data contracts specifically define the data that is being exchanged between a client and service. The data contract is an agreement, meaning that the client and the service must agree on the data contract in order for the exchange of data to take place.
  Posted by Gaurav Rastogi. (Mar 03, 2014)
 

Data Contracts are those contract which contains our data member and these data contracts can take part in the serialization process. The data member contain in the data contract can be serialized and transfer through protocol.

Your Name Your Email-ID
Your Answer