Visual Studio Toolbox

Visual Studio Achievements For Windows Store Apps

Download this episode

Download Video

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

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • 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.

    • 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

    • AceHack

      Hey got it.  Thanks for all your help.

    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.