API Inconsistency Regionless Get/Put with version

Answered API Inconsistency Regionless Get/Put with version

  • Wednesday, February 11, 2009 10:09 PM
     
     
    In CTP2 I can do a .Get with key and a ref CacheItemVersion, but a .Put including a CacheItemVersion is not available without specifying a region as well.  This seems like an oversight.  I should be able to use versioning without explicit regions, no?

All Replies

  • Saturday, February 14, 2009 4:38 PM
     
     
     Hi, you are right. Thanks for your feedback.
    Thanks, Amit. MSFT.
  • Monday, March 02, 2009 6:14 PM
     
     
    Also, you cannot do a put with a timeout and no region. Seems like this put overide is missing as well.
  • Tuesday, March 03, 2009 5:39 AM
    Moderator
     
     Answered
    In CTP2 you can always pass Cache.DEFAULT_REGION to send in the default region for those APIs. WE are trying to clean up the APIs to add more overloads.