1

Trying to find out if the System.Web.HttpRuntime.Cache or any other possible caching is serialized?

Basically i need to store list in Cache, and it has to be Read/Write by many users.

So, I can out a list in cache, i can get it back out. What happens when many people try to access the list? Do i have to lock the list? when changing it, I'm guessing I'll have to re-add the list.

Or any other suggestions? Besides using the DB or writing to a file.

Wim Coenen
  • 66,094
  • 13
  • 157
  • 251
Yogurt The Wise
  • 4,379
  • 4
  • 34
  • 42

1 Answers1

0

Came up with a possible solution. Since my list was going to contain a GUID anyway, I could just use the Cache it self as a list, using the GUID as the Key.

But I am still curious if objects or cache still need to be locked when access them, and re-adding them back to the Cache?

Yogurt The Wise
  • 4,379
  • 4
  • 34
  • 42