Visual Studio Achievements For Windows Store Apps

Sign in to queue

Description

In this episode, Karsten Januszewski joins us to talk about the latest version of the Visual Studio Achievements extension. Once you install this extension, you can unlock achievements based on things you do in Visual Studio. The latest version adds nineteen new achievements oriented toward Windows Store app development. These new achievements can be earned in JavaScript, C#, VB, and C++. Some examples include: I Like To Move It Move It, which is earned by using the accelerometer, and The Play Is The Thing, which is earned by using the AutoPlay contract.

Embed

Download

Download this episode

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.

Add Your 2 Cents