Reputation: 107
We have an in-memory memorycache object in our WCF service. Is there a way I can decorate operations in WCF service so that the call is redirected to check cache first and after checking cache, control goes to actual operation?
Upvotes: 0
Views: 85
Reputation: 3615
You can implement IOperationInvoker where you can intercept the call on operation level. Operation invoker is hooked via IOperationBehvaior
Upvotes: 1