WCF Interview Question and Answers

6. What are different instance modes in WCF?
 
  • Per Call
  • Singleton
  • Per Session
 
Your Name Your Email-ID
Your Answer
7. What is binding?
  A binding is the set of configurations regarding the transport protocol, message encoding, communication pattern, reliability, security, transaction propagation and interoperability.
 
Your Name Your Email-ID
Your Answer
8. What are the main components of WCF?
 
    The main components of WCF are
  • Service class
  • Hosting environment
  • End point
 
Your Name Your Email-ID
Your Answer
9. What does the Svcutil.exe tool perform?
  The Svcutil.exe tool generates a client side proxy(a language specific file, for example a .cs or .vb file) and configuration file(.config file) from the service metadata.
 
Your Name Your Email-ID
Your Answer
10. Define fault contract?
  This contract is used to raise the error from service side or in simple words client will come to know about the service error from fault contract.
 
Your Name Your Email-ID
Your Answer
12345 Page 2 of 5