WCF Interview Question and Answers
11. |
What is an endpoint? |
|
- In WCF, services and clients communicate through endpoints.
- An endpoint is the point where the services and clients meet and exchange messages.
- A single WCF service can have one or more endpoints.
|
|
|
12. |
What are the types of binding available in WCF? |
|
The types of binding available in WCF are
- BasicHttpBinding
- NetTcpBinding
- WSHttpBinding
- NetMsmqBinding
|
|
|
13. |
Which protocol does WCF employ for distributed application? |
|
WCF applications employ the Simple Object Access Protocol(SOAP). |
|
|
14. |
What is OData? |
|
OData or Open Data protocol is used to access the information exposed by data sources like SQL, Cloud Storage etc. |
|
|
15. |
What are the ways of hosting a WCF service? |
|
The ways of hosting a WCF service are
- IIS
- Self Hosting
- WAS(Windows Activation Service)
|
|
|