Caching Application Block - How to Update a Cache Item

Feb 17, 2009 at 6:37 PM
Edited Feb 17, 2009 at 6:38 PM

This is maybe a stupid question, but I could not find a way to update an entry in a Cache Application Block cache.

I have tried MyCache[strKey] = strValue but the compiler keeps saiyng that it is a readonly item. Can you help me please

Thanks in advance
Feb 18, 2009 at 12:47 AM
Re-add the item using the same key to the cache manager.

Sarah Urmeneta
Global Technology & Solutions
Avanade, Inc.
Feb 19, 2009 at 3:05 AM
Thanks Sarah