This project is read-only.

ServiceContract on interface

Apr 23, 2014 at 5:23 AM
The RestCake instruction is to make the class that is laced with the ServiceContract attribute inherit from the RestHttpHandler class.

But our ServiceContract is tied to an interface (which also implements many other interfaces) that defines the service operation methods.

The actual concrete service class implements that interface and thus does not have ServiceContract by itself. Is that still workable?

Also, if our service uses the WebOperationContext(.Current) and other WCF behaviours, I suppose we have to modify with alternative code components?