WCF interview questions and answers: - What is the difference between Service endpoint and Client endpoint?
- By Shiv Prasad Koirala in WCF
- Jun 10th, 2013
- 8314
- 0
This WCF interview question is making rounds in some .NET interview recently.
Endpoint in WCF service is the combination of three things address, binding and contract. Service endpoint is for the server, server where your WCF service is hosted. Service endpoint defines where the service is hosted, what are the bindings and the contract i.e. methods and interfaces.
While client endpoint is for the client. Client endpoint specifies which service to connect, where it's located etc.

Code of WCF Server end point looks something as shown below.

WCF Client end point code looks something as shown below.This is generated when you add service reference using add service reference.

Watch the below video on WCF interview question video: - Define WCF one way contract?.
Shiv Prasad Koirala
Visit us @ www.questpond.com or call us at 022-66752917... read more
- By Shiv Prasad Koirala
- Jan 17th, 2012
- 13447
- 0
.NET interview questions: - Can you elaborate project life cycle?
- By Shiv Prasad Koirala
- Aug 3rd, 2011
- 10211
- 0
Five most important SharePoint 2010 interview questions
- By Shiv Prasad Koirala
- Nov 16th, 2011
- 9938
- 0

