WCF Interview Question and Answers
6. |
What are different instance modes in WCF? |
|
- Per Call
- Singleton
-
Per Session
|
|
|
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. |
|
|
8. |
What are the main components of WCF? |
|
The main components of WCF are
- Service class
- Hosting environment
- End point
|
|
|
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. |
|
|
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. |
|
|