user1500970
user1500970

Reputation: 107

WCF service operations to check cache first

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

Answers (1)

Petar Vučetin
Petar Vučetin

Reputation: 3615

You can implement IOperationInvoker where you can intercept the call on operation level. Operation invoker is hooked via IOperationBehvaior

Upvotes: 1

Related Questions