.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> WCF >> Post New Question Subscribe to Interview Questions

What is endpoint in WCF?

Posted By :Akhil Raj     Posted Date :September 18, 2010    Points :10   Category :WCF 
Every service must have Address that defines where the service resides, Contract that defines what the service does and a Binding that defines how to communicate with the service. In WCF the relationship between Address, Contract and Binding is called Endpoint.

The Endpoint is the fusion of Address, Contract and Binding.


You can also find related Interview Question to What is endpoint in WCF?  below: 

What is meant by EndPoint in WCF?

  
It's an Interface, it paves a way on how the client should communicate with the service.
It has three points, they are;
1) Address - defines where the service resides
2) Binding - defines how to communicate
3) Contract - defines what the service does (More...)

What is Metadata Exchange(MEX) endpoint

  
Metadata describes the information how to communicate with the service.cleint can request metdata for learning about the endpoint and message format.The service does not expose MEX enpoint, nobody can know the details of service.For knowing address, binding and contract for the service, service should expose the mex endpoint. This can be exposed in code or configuration (More...)

What is endpoint in WCF?

  
Every service must have Address that defines where the service resides, Contract that defines what the service does and a Binding that defines how to communicate with the service. In WCF the relationship between Address, Contract and Binding is called Endpoint.

The Endpoint is the fusion of Address, Contract and Binding.
(More...)

How can you define an Endpoint programmatically in WCF ?

  
ServiceHost s = new ServiceHost(typeof(EmployeeReservations));

s.AddEndpoint(typeof(EmployeeReservations), new BasicHttpBinding(),

"http://www.google.com/employee/emp.svc");


EmployeeReservations is the name of the contract.
http://www.google.com/employee/emp.svc is the address of the web service.

(More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend