caching - How to cache in WCF multithreaded -


Then, in my WCF service, I will cache some of the data so that future calls made in the service receive that data Able to do / P>

What is the best way to cache data in WCF? How does one go about doing this? If it helps, the WCF service is multilevel (concurrency mode is multiple) and ReleaseServiceInstanceOnTransactionComplete is set to false.

The first call can not be present to recover this data, so it can get data from some source, it can be a DB, it can be a file), but after that It should be cached and made available (ideally with the closing time of the object)

Thoughts?

Some of the most common solutions for WCF service are:

  • Try reading

Comments