I have a wcf service thats exposing a service using two endpoints. One endpoint is used for web service calls while the other is using rest.
Is there a way to determine
Lifted from the blog entry here:
You just need to look at the LocalAddress on the Channel of the current Operation Context in the method: OperationContext.Current.Channel.LocalAddress
You just need to look at the LocalAddress on the Channel of the current Operation Context in the method:
OperationContext.Current.Channel.LocalAddress