Visual Studio Achievements For Windows Store Apps

Play Visual Studio Achievements For Windows Store Apps

The Discussion

  • User profile image
    AceHack

    Hey it's nice to have these new achievements but there is still a bug in one of the Azure Acheivements."Show Me The Cache"

    <dataCacheClients>
        <dataCacheClient name="default">
          <hosts>
            <host name="xxx.cache.windows.net" cachePort="22233" />
          </hosts>
          <securityProperties mode="Message">
            <messageSecurity authorizationInfo="[xxx]"></messageSecurity>
          </securityProperties>
        </dataCacheClient>
        <dataCacheClient name="SslEndpoint">
          <hosts>
            <host name="xxx.cache.windows.net" cachePort="22243" />
          </hosts>
          <securityProperties mode="Message" sslEnabled="true">
            <messageSecurity authorizationInfo="[xxx]"></messageSecurity>
          </securityProperties>
        </dataCacheClient>
      </dataCacheClients>
    

    DataCacheFactoryConfiguration config = new DataCacheFactoryConfiguration("default");
    DataCacheFactory cacheFactory = new DataCacheFactory(config);
    DataCache defaultCache = cacheFactory.GetDefaultCache();
    
    defaultCache.Put("testkey", "testobject");
    string strObject = (string)defaultCache.Get("testkey");
    defaultCache.Remove("testkey");
    

     

    With the above code It seems I should get the acheivement but it does not unlock.  Please help.  Thanks.

  • User profile image
    karstenj

    Hey AceHack -

    I see the problem in the achievements extension: at some point, there was no dataCacheClients node, just the dataCacheClient node (no plural) so our code looks for the path: /configuration/dataCacheClient/hosts/host

     At some point, the configuration schema changed.  So, if you want to get the achievement before we push a fix to the extension (which could be awhile) , make your config match that pattern and it should unlock...

    Karsten

  • User profile image
    AceHack

    Hey got it.  Thanks for all your help.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.