endpoint.tv - WCF AppFabric Caching Behavior Sample

Sign in to queue

Description

While I was out on holiday break I had this idea.  What if you could create an operation behavior that would cache results for a WCF call and intercept the call returning the response from the cache if it was found?  That would be pretty cool so I created the WCF AppFabric Caching Behavior Sample and on this episode I'll show you how it works.

 

Embed

Download

Download this episode

The Discussion

  • User profile image
    Yossi Dahan

    Hi Ron
    Really like this, thanks for posting, although I have to admit that when I thought about it, whilst watching the video, I've decided for me it would work better as a client endpoint behaviour, so that I can save the hit on the service endpoint completely; of course this is true in my case only because I am in control of all of the clients' endpoints and know they all have access to the cache...
     

  • User profile image
    rojacobs

    Agreed - I wanted to make a client endpoint behavior but it turns out that you cannot intercept a call on the client.  There are other ways to do this but they involve messing with the client proxy typically.

Add Your 2 Cents