W8WIL #5: Bringing the Awesome in Search

In this, the 5th, installment of Windows 8, What I’ve learned, I’m going to share a single line of code that can make your search-enabled Windows Store app absolutely awesome!

Start by enabling Search

For starters, if you haven’t enabled the Search contract in your app, you probably should. Unless your app is a game or other kind of app that has no content to search, implementing the Search contract will enable your users to more easily find content in your app, whether it’s running or not, and allow them to do so via a consistent UI that’s part of Windows 8 itself:

Continue reading W8WIL #5: Bringing the Awesome in Search

Everything You Ever Wanted to Know About Windows 8 Game Development…

…but didn’t know to ask.

OK, perhaps not everything…but certainly all the options for developing great games on Windows 8.

Bob Familiar, who manages some of my fellow Technical Evangelists on our East Region team, managed to find time between updating SharePoint and emailing Excel files to do some really thorough research on the state of game development for Windows 8, and shares his results on his blog:

Continue reading Everything You Ever Wanted to Know About Windows 8 Game Development…

W8WIL #4: Pinch-to-Zoom and Rotate in the Simulator

As most of you may have figured out, I’ve been doing a fair amount of Windows 8 development over the last year or so, much of it focused on HTML5, CSS3, and JavaScript apps. In this 3rd (whoops! It’s the 4th, not 3rd) installment of my Windows 8: What I’ve Learned series, I’ll share some tips on using the Windows Simulator for testing your Windows Store apps.

Continue reading W8WIL #4: Pinch-to-Zoom and Rotate in the Simulator

Exploring HTML5 Canvas: Part 7 – Optimizing Animations

[This is part 7 of an ongoing series of posts examining the HTML5 Canvas element. In Part 1 of this series, I introduced Canvas and prepared a template to make further explorations a bit simpler, and also introduced JsFiddle, a neat tool for experimenting with and sharing web code. In Part 2, I demonstrated the ability of Canvas to allow your page background to shine through, and showed you how to render simple shapes on the drawing surface. In Part 3, I showed how to draw paths and text in Canvas. In Part 4, I showed how to transform the drawing context and scale, rotate, and skew your drawings. In Part 5, I introduced basic animation concepts, including the animation loop. In Part 6, I demonstrated some techniques for managing multiple animated shapes in your Canvas implementations.]

Performance Matters

As you start working with HTML5 Canvas, one of the things that you may discover is that the more things you’re drawing, the more likely it is that you will run into performance issues, particularly if your code is not optimized. This is also true the larger your canvas gets, which may especially impact full-screen games or similar implementations.

Continue reading Exploring HTML5 Canvas: Part 7 – Optimizing Animations

Want to Match Windows 8 Colors in Your HTML?

My fellow evangelist Ed Donahue shows you the hex color codes:

In my own projects I really like to have correct colors. With Windows 8 coming out, more and more of my projects are around Windows 8. I’m not much of a designer, but sometimes I like to play pretend. I was able to grab these colors from Windows 8 RTM. I’m only including the HEX code because RGB would have been a pain to copy from the programs I use. If you need RGB, there are lots of HEX to RGB color converters online. I hope you find these useful!

This first set of colors is from the tiles found on the Start Screen, such as Mail, Calendar, Store, Video, Music and Messaging. With these tiles there is a gradient from left to right that is dark to light for both sizes of tiles. The colors listed are for the wide tile except for Sky Blue since SkyDrive only has the smaller tile.

Continue reading Want to Match Windows 8 Colors in Your HTML?

Microsoft DevRadio: Reasons Why You Should Develop a Windows 8 App

I’m pleased to announce the availability of my next episode of Microsoft DevRadio, in which I talk to my fellow Technical Evangelist Jennifer Marsman about the top reasons for developing applications for Windows 8. From market potential and size, optimized discovery, flexible and money making opportunities, as well as free tools and guidance— there’s no better time than right now to develop your Windows 8 app.

Continue reading Microsoft DevRadio: Reasons Why You Should Develop a Windows 8 App

Microsoft DevRadio: Top 10 Windows 8 Secrets for App Success

I’m pleased to have had the opportunity to host another episode of Microsoft DevRadio. In this episode, Chris Bowen shares with us his Top 10 Windows 8 secrets for App success. Tune in as Chris and I discuss the incredible money making opportunities available for developers who jump in and develop applications for Windows 8 as well as what free tools and services are available to help you along the way.

Continue reading Microsoft DevRadio: Top 10 Windows 8 Secrets for App Success

Updating a Windows 8 JavaScript app from RC to RTM

Now that the Windows 8 RTM version is available to MSDN Subscribers (and a 90-day trial version is available for non-subscribers), it’s a good time to update your app to the RTM version of Visual Studio 2012. Updating to RTM is required to submit an app for the Windows Store, and it’s a pretty painless process.

Updating WinJS

One significant change between apps built with the Visual Studio 2012 release candidate and those built with RTM is the version of the Windows Library for JavaScript (WinJS) used. WinJS has been updated for RTM, so if you’re migrating an app from RC to RTM, you’ll need to update WinJS. There are two parts to this process:

Continue reading Updating a Windows 8 JavaScript app from RC to RTM

Follow-up On Backups: Mounting a System Image

Yesterday, I posted about my practice of using the built in system image creation tools in Windows 7 and Windows 8 to create a backup of my system whenever I’m getting ready to upgrade.

Now, if something goes tragically wrong, I can just boot to a system repair disk, and restore the image, and I’m back to where I started. But let’s suppose the install goes fine, but I find that there’s a file I need to get to from my backup, but I don’t want to restore the entire backup, just get that file.

Continue reading Follow-up On Backups: Mounting a System Image