Hi
I'm working on a wcf service and I have the need for it to figure out it's own endpoint address (pref. in the constructor). Is this possible and if so, could anyone point me to the right direction? The service is hosted on IIS.
Thanks.
Hi
I'm working on a wcf service and I have the need for it to figure out it's own endpoint address (pref. in the constructor). Is this possible and if so, could anyone point me to the right direction? The service is hosted on IIS.
Thanks.
var uri = OperationContext
.Current
.EndpointDispatcher
.EndpointAddress
.Uri;