HTML and CSS Reference
What Software Do You Need for his Topic?
You will need the Windows 8 Consumer Preview and the Visual Studio 11 Express Beta for
Windows 8. You can download both of them from http://preview.windows.com . You don't
need any other tools to develop Metro applications or for the examples in this topic.
Windows 8 Consumer Preview is not a finished product, and it has some stability issues.
You'll get the best experience if you install Windows 8 directly onto a well-specified PC, but you
can get by with a virtual machine if you are not ready to make the switch.
What Is the Structure of his topic?
I focus on the key techniques and features that make a Metro app. You already know how to
write HTML and use form elements to gather input from the user, and I am not going to waste
your time teaching you what you already know. his topic is about translating your web app
development experience into the Metro world, and that means focusing on what makes a Metro
I have taken a relaxed approach to mixing topics. Aside from the main theme in each
chapter, you'll find some essential context to explain why features are important and why you
Metro apps and introduce as many Metro features as I can. By the end of this topic, you will
understand how to build a Metro app that integrates properly into Windows 8 and presents
a user experience that is consistent with Metro apps written using other technologies, such
This is a primer to get you started on Metro programming for Windows 8. It isn't a com-
prehensive tutorial; as a consequence, I have focused on those topics that are the major build-
ing blocks for a Metro app. There is a lot of information that I just couldn't fit into such a slim
volume. If you do want more comprehensive coverage of Metro development, then Apress will
release of Windows 8.
he following sections summarize the chapters in this topic.
Chapter 1: Getting Started
Aside from introducing this topic, I show you how to create the Visual Studio project for the
in Visual Studio, how to test your Metro apps in the Visual Studio simulator, and how to use the
Chapter 2: Data and Bindings
Data is at the heart of any Metro application, and in this chapter I show you how to define
a view model and how to use Metro data bindings to bring that data into your application
layouts. These techniques are essential to building Metro apps that are easy to extend, easy