Is there a way in implementing WCF Rest Service to require one method to be called via https and the other called via http or https without the need to define two service endpoint bindings? I want to be able to do something in my service implementation, for example:
if (CalledOverHttps()) {
} else {
throw new WebOperationException("Nice try buddy");
}
Thanks in advance!
source
share