We are using MS Velocity, and moving to AppFabric soon. We are interested in possibly using tags to retrieve items from the cache in the future. The Velocity/App Fabric API includes an add method that look like
public DataCacheItemVersion Add(string key,
object value,
IEnumerable<DataCacheTag> tags);
However, there are no methods available for retrieving objects from the cache using tags that do not require a region to be specified.
The problem is that if you use Add() without specifying the region, you have no idea what region the cache manager put the object into; thus you cannot specify the region when retrieving the object. Am I missing something really simple here?