Jader Dias
Jader Dias

Reputation: 90475

How to get the called address with WCF from inside the service method implementation?

Inside the WCF service implementation I need to get the service address. Is this possible?

Upvotes: 0

Views: 231

Answers (1)

tomasr
tomasr

Reputation: 13849

Maybe OperationContext.Current.EndpointDispatcher.EndpointAddress might have the info you're looking for.

Upvotes: 2

Related Questions