How to implicitly cache response messages in a WCF request-response pattern?

How can I implicitly cache response messages in a consumer application that calls one or more underlying services using WCF and the Request-Response messaging pattern without changing the code of the application in question? My caching option is memory.

Scenario:

  • Windows Form Application as a Consumer
  • 30 plus services hosted in IIS
  • Both clients and services are under my control

I am currently considering the following items to implement:

  • BeforeSendRequest / BeforeSendReply
  • Or a custom binding that I could perhaps comment on in each service

I would love to hear some options if you mean. Thank!

+3
c # winforms wcf memorycache


source to share


No one has answered this question yet

See similar questions:

1
Client Side WCF Caching with .NET4

or similar:

382
WCF - How to Increase Post Size
18
WCF Channel and ChannelFactory Caching
3
Wcf security templates and guidelines
2
WCF adds additional HTTP header for HTTP response to transport SOAP message
2
WCF. How to include / add "TO" WS-Address header for service response
1
Maximum message size in WCF
1
Invalid cache in WAS enabled WCF service
0
WCF Service Two-Way Communication - Message Security No
0
WCF - The remote server returned an unexpected response: (400) Bad request
0
How to allow WCF hosted on a public HTTP server to specific clients



All Articles
Loading...
X
Show
Funny
Dev
Pics