CHAPTER 1 ■ GETTING STARTED
2
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 is Book?
I focus on the key techniques and features that make a Metro app. You already know how to write C#, and I am
not going to waste your time teaching you what you already know. is book is about translating your C# and
XAML development experience into the Metro world, and that means focusing on what makes a Metro app
special.
I have taken a relaxed approach to mixing topics together. Aside from the main theme in each chapter,
you’ll find some essential context to explain why features are important and why you should implement them.
By the end of this book, 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 languages, such as C++ or
JavaScript.
is is a primer to get you started on Metro programming for Windows 8. It isn’t a comprehensive tutorial; as
a consequence, I have focused on those topics that are the major building blocks for a Metro app. ere 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 be publishing Jesse Liberty’s Pro Windows 8 Development with XAML and C# book
for the final release of Windows 8. ey will also be publishing my Pro Windows 8 Development with HTML5 and
JavaScript if you want to use more web-oriented technologies to build your Metro apps.
e following sections summarize the chapters in this book.
Chapter 1: Getting Started
is chapter. Aside from introducing this book, I show you how to create the Visual Studio project for the
example Metro app that I use throughout this book. I give you a brief overview of XAML, take you on a tour of
the important files in a Metro development project, show you how to run your Metro apps in the Visual Studio
simulator, and explain how to use the debugger.
Chapter 2: Data, Bindings, and Pages
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. ese techniques are essential to
building Metro apps that are easy to extend, easy to test, and easy to maintain. Along the way, I’ll show you how
to use pages to break your app into manageable chunks of XAML and C# code.
Chapter 3: AppBars, Flyouts, and NavBars
ere are some user interface controls that are common to all Metro apps, regardless of which language is used
to create them. In this chapter, I show you how to create and configure AppBars, Flyouts, and NavBars, which are
the most important of these common controls; together they form the backbone of your interaction with the user.
Chapter 4: Layouts and Tiles
e functionality of a Metro application extends to the Windows 8 Start menu, which oers a number of ways to
present the user with additional information. In this chapter, I show you how to create and update dynamic Start
tiles and how to apply badges to those tiles.
评论6
最新资源