Question

Does anyone know if the endpoint used for the service request can be accessed from within the service?

Was it helpful?

Solution

Use

System.ServiceModel.OperationContext.Current.EndpointDispatcher.EndpointAddress

That should do the job.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top