Book Image

Visual Studio 2012 Cookbook

By : Richard Banks
Book Image

Visual Studio 2012 Cookbook

By: Richard Banks

Overview of this book

<p>There’s a new technology wave coming, and for Microsoft this is reflected in Windows 8, HTML5 web development, .NET 4.5 and C++11. Riding that wave is a new version of their flagship development tool, Visual Studio 2012, and "Visual Studio 2012 Cookbook" has you putting the new features into practice from the get-go! <br /><br />Among the exciting new features of Visual Studio 2012 is support for Windows 8, HTML5 and asynchronous development, as well as Team Foundation Server 2012 integration. “Visual Studio 2012 Cookbook” doesn’t waste time explaining what you already know from prior Visual Studio versions; instead you’ll see targeted and focused recipes on only new features so that you can get up to speed and back to work faster.<br /><br />“Visual Studio 2012 Cookbook” empowers you to take advantage of all the new features in Visual Studio 2012 so that you can develop applications for the next technology wave.</p> <p>The task-based recipes in this guide will have you up and running with improvements like support for Windows 8 development, HTML5 and JavaScript, .NET 4.5, asynchronous code and C++11.</p> <p>And since most people don’t develop alone, you’ll also see how the new team development features of Visual Studio 2012 and Team Foundation Server 2012 can help your whole team work smarter, not harder.<br /><br />Time is short and you’re in a hurry, so “Visual Studio 2012 Cookbook” will help you discover what’s new by way of a simple recipe format that is quick and easy to digest.</p>
Table of Contents (17 chapters)
Visual Studio 2012 Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Using the Windows 8 simulator


You may recall that one of the design goals of Windows Store apps was that they should run equally well on a multitude of devices, including tablets and other touch-enabled devices and they should also support a number of different views such as the Snapped and Full views.

I'm not sure about you, but most developers I know use powerful desktops or high-end laptops for developing software and at this point in time those machines aren't typically equipped with touch input or gyroscopes. Well, not yet anyway.

Microsoft realized that this would likely be the case and have included with Visual Studio 2012 a Windows 8 Simulator that can be used to test your Windows Store apps without the need of a second physical machine to deploy to.

The simulator is similar in concept to the Microsoft Windows Phone 7 emulator used in developing Windows Phone 7 software. Let's have a look at how we make use of the simulator.

Getting ready

Create a new C# Windows Store Split app and name...