Windows 8 app developer blog

Insights on building Windows Store apps by the Windows 8 engineering team

April, 2012

  • Windows 8 app developer blog

    Diving deep with WinRT and await

    The recent blog post Keeping apps fast and fluid with asynchrony in the Windows Runtime includes examples of how the await keyword in C# and Visual Basic enables developers to use WinRT asynchronous operations while still maintaining and reasoning about good control flow. In this follow-on post, I dive much deeper into exactly how await works with WinRT. This knowledge will make it easier for you to reason about code that uses await , and as a result, will enable you to write better Metro style apps...
  • Windows 8 app developer blog

    Getting the most out of your pixels - adapting to view state changes

    In Windows 8, your apps run on a variety of screen sizes and under various view states. A user might have your app snapped to the side of a 25-inch desktop monitor, or fill the whole screen of a 10-inch widescreen tablet. In each case, you want your app to take full advantage of the available space. In this post, I show you how you can track the current size and view state of your app in code, and give you tips on how to write your app in the Windows 8 Consumer Preview to handle screen size and view...
  • Windows 8 app developer blog

    Creating a great tile experience (part 2)

    In part 1 of this post , we learned how to design tile updates and choose the templates to match the content you want to show on your live tile. We got the app set up with a wide default tile and now we’re ready to start updating our tiles. Now, we dive straight into the code. First, we’ll see how to set up polling on our Contoso Food Trucks app tile, including what our web service code looks like. Then we add a secondary tile to the app and update it using the NotificationsExtension library provided...
  • Windows 8 app developer blog

    Creating a great tile experience (part 1)

    A live tile is one of the best ways to entice users back to your app. This post shows you how to update your app’s live tile using polling and local APIs so that you can show off what is great about your app directly on the Windows 8 Start screen. Your tile can put front and center the best of what’s going on inside of your app. The app tile is a core part of your app, and quite possibly its most frequently seen part – take advantage of the tile to get users back into your app! In this post I walk...
  • Windows 8 app developer blog

    Managing app lifecycle so your apps feel "always alive"

    The app lifecycle model in Windows 8 means that users no longer need to manage which apps are running. It also makes it easy for developers to craft a great user experience that doesn’t affect the device’s battery or performance when the app is in the background. Using the new lifecycle events, your app will always feel alive, even though it never runs when it is off-screen. Today, batteries often run low on laptops, tablets, and phones, because all of us tend to leave apps running even when we’re...
  • Windows 8 app developer blog

    Tackling performance killers: Common performance problems with Metro style apps

    Now that you had time to read my previous post, How to improve performance in your Metro style app , on the methodology and tools available to help you create fast and fluid apps, I want to dig into the common performance killers I have seen in apps. In this post, I go over the top guidance points which I have observed to result in measureable and noticeable improvements for Metro style apps, both written in JavaScript and in XAML. Plus, I tell you about 5 specific practices that I know will make...
  • Windows 8 app developer blog

    How to improve performance in your Metro style app

    Nobody likes slow or unresponsive apps. Users expect that apps respond immediately to touch, taps, clicks, gestures and key-presses. Users expect that animations are smooth, that they can play, pause and restart their music and videos quickly, and that they never have to wait for the app to catch up with them. This is the first in a series of posts on how to make your apps "fast and fluid." We invested a lot of time in the engineering teams thinking about how we can ensure the performance...
Page 1 of 1 (7 items)