Is there a way in a WCF Rest Service implementation to require one method be called over https, while allowing others to be called over http or https without having to define two service endpoint bindings? I want to be able to do something in my service implementation such as:
if (CalledOverHttps()) {
//Do Stuff
} else {
throw new WebOperationException("Nice try buddy");
}
Thanks in advance!