Coffeehouse Thread

25 posts

Cannot get "Show Me The Cache" Achievement to work

Back to Forum: Coffeehouse
  • User profile image
    AceHack

    I followed the guide here:

    http://www.windowsazure.com/en-us/develop/net/how-to-guides/cache/

    exactly and my cache is working as expected I am able to store and retrieve data so why has the achievement not shown up?  The azure account I am connecting to is my companies and has been around for a while.  I'm assuming there is something in VS that should be triggering this but it is not.  Thanks.

  • User profile image
    AceHack

    Any idea what's going on here?  Thanks.

  • User profile image
    Maddus Mattus

    For $20.000,- I will grant you the "Show me the cash" achievement!

    Kidding aside, no idea what is going on.

    It's looking for some sort of marker that you used Azure Cache.

  • User profile image
    karstenj

    What's your

    <dataCacheClient>

    node look like?

    PS - You are very close to getting them all!

  • User profile image
    AceHack

    This is in my web.config of a Azure WCF Service Project.

    <dataCacheClient name="default">
      <hosts>
        <host name="***.cache.windows.net" cachePort="22233" />
      </hosts>
      <securityProperties mode="Message">
        <messageSecurity authorizationInfo="***"></messageSecurity>
      </securityProperties>
    </dataCacheClient>

    Here is the use of it in code

    string GetCache()
    {
        DataCacheFactory cacheFactory = new DataCacheFactory();
        DataCache cache = cacheFactory.GetDefaultCache();
        cache.Put("item", "value");
        var r = (string)cache.Get("item");
        return r;
    }

    Also this is the last achievement i need to have them all so please help.  Thanks so much.

  • User profile image
    o_l

    I'm trying to get this one too...

  • User profile image
    AceHack

    @karstenj Any suggestions?  Thanks.

  • User profile image
    karstenj

    I see the problem.  One thing that we look for in that achievement is the name of the host, which used to always be *.vo.msecnd.net.  Since we built this achievement, it appears that the DNS named has changed to *.cache.windows.net.

    So we're going to need to update the extension. Until then, you can prob figure out a workaround Cool  BTW, congrats on getting all the achievements. You truly are an ace hack. Wink

  • User profile image
    AceHack

    @karstenj when is the next version comming out.  I can't workaround the issues with a simple host file spoof or anything of that nature because of acs security.  I'm really anxious to get this one since it's my last.  Thanks.

  • User profile image
    Maddus Mattus

    @AceHack: just use the faulty adres, get the achievement, put the adres back, done!

    no need to wait for update Scared

  • User profile image
    AceHack

    @maddus I did that and it did not work.  So I tried updating my hosts file to hasve the address point to the right ip address and still no luck.  I'm assuming it needs to be a successful call or something.

  • User profile image
    Maddus Mattus

    @AceHack: it checks them compile time, did you try and compile the solution?

  • User profile image
    AceHack

    @maddus yes I did, recompile too and running the app.

  • User profile image
    Maddus Mattus

    @AceHack: then I am out of suggestions,.. sorry Smiley

  • User profile image
    AceHack

    @karstenj:Any update on when the new release might come.  I would like to get the last achievement.  Thanks.

  • User profile image
    Maddus Mattus

    Generic Forum Image

  • User profile image
    AceHack

    @karstenj:Any update, thanks.

  • User profile image
    karstenj

    Okay, version 2.1 of the achievements extension fixes this!

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.