0%

Book Description

This book contains 50 great hands-on recipes to help you get to grips with Visual Studio 2012. Whatever your programming language, you’ll quickly have the modern capabilities of this innovative IDE at your fingertips.

  • Take advantage of all of the new features of Visual Studio 2012, no matter what your programming language specialty is!
  • Get to grips with Windows 8 Store App development, .NET 4.5, asynchronous coding and new team development changes in this book and e-book
  • A concise and practical First Look Cookbook to immediately get you coding with Visual Studio 2012

In Detail

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!

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.

“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.

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.

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.

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.

Table of Contents

  1. Visual Studio 2012 Cookbook
    1. Table of Contents
    2. Visual Studio 2012 Cookbook
    3. Credits
    4. Foreword
    5. About the Author
    6. About the Reviewers
    7. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    8. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    9. 1. Discovering Visual Studio 2012
      1. Introduction
      2. Creating a new project
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. New project types and your development operating system
          2. Portable class libraries
          3. Office projects
          4. Retired project templates
        5. See also
      3. Upgrading an existing solution
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Visual Studio database projects
          2. ASP.NET MVC 2 projects
          3. Silverlight 3 and earlier
        5. See also
      4. Managing editor windows
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Single click preview in Solution Explorer
          2. Customizing tab and window behavior
      5. Finding Visual Studio commands
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      6. Navigating and searching
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Navigation behavior
          2. CSS, HTML, and JavaScript files
        5. See also
      7. Searching your code
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. What happened to the old search dialog?
          2. Can I use regular expressions?
      8. Using the graphics tools
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. MIP mapping support
          2. 3D Model support
          3. Pixel shaders
        5. See also
    10. 2. Getting Started with Windows Store Applications
      1. Introduction
        1. Windows Runtime
        2. Choosing the right development technology
      2. Creating a Windows Store app
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
          1. What project type should I choose?
            1. Blank App
            2. Grid App
            3. Split App
            4. Fixed Layout App
            5. Navigation App
            6. Class Library
            7. Unit Test Library
            8. DLL (Windows Store apps)
            9. Static Library (Windows Store apps)
            10. Windows Runtime Component
            11. Direct2D App (XAML) and Direct3D App
          2. Technology choice impacts available project templates
          3. .NET projects and the Windows Store apps profile
          4. Language interoperability
      3. Adding a Windows Store item template to your app
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
          1. What are the other Windows Store item templates?
            1. Blank Page
            2. Basic Page
            3. Split Page
            4. Items Page
            5. Item Detail Page
            6. Grouped Items Page
            7. Group Detail Page
            8. File Open Picker Contract
            9. Search Contract
            10. Share Target Contract
          2. Language impacts item template options
        5. See also
      4. Using the Windows 8 simulator
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Resolution and resizing
          2. Remote debugging
          3. Location settings
          4. Taking screenshots
        5. See also
      5. Defining capabilities and contracts
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
          1. Contracts
            1. Contact Picker
            2. File Open Picker
            3. Search
            4. File Type Associations
            5. Share Target
          2. Capabilities
            1. Internet (Client)
            2. Internet (Client & Server)
            3. Home or Work Networking
            4. Library access
      6. Packaging your Windows Store app
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Package signing
          2. Tile notifications
        5. See also
      7. Validating your Windows Store app
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
    11. 3. Web Development: ASP.NET, HTML5, CSS, and JavaScript
      1. Introduction
      2. Creating HTML5 web pages
        1. Getting ready
        2. How to do it...
        3. How it works...
      3. Taking advantage of CSS editor improvements
        1. Getting ready
        2. How to do it...
        3. How it works...
      4. Understanding the JavaScript editor improvements
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
          1. Regions
      5. JavaScript and CSS bundling and minification
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. See also
      6. Verifying pages with the Page Inspector
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
          1. Partial pages and user controls
          2. The Page Inspector is too narrow!
    12. 4. .NET Framework 4.5 Development
      1. Introduction
      2. Adding the Ribbon to a WPF application
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      3. Creating a state machine in Visual Studio 2012
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
          1. Panning
          2. C# Workflows
          3. Versioning your workflows
      4. Creating a Task-based WCF service
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See Also
      5. Managing packages with NuGet
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
      6. Unit testing .NET applications
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
          1. Can I restrict the unit tests that automatically execute?
          2. Asynchronous tests
        5. See also
      7. Sharing class libraries across runtimes
        1. Getting ready
        2. How to do it...
        3. How it works...
      8. Detecting duplicate code
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
    13. 5. Debugging Your .NET Application
      1. Introduction
      2. Debugging on remote machines and tablets
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
          1. Debugging an ASP.NET process
          2. I don't want to use a file share
          3. I'm missing symbols
      3. Debugging code in production
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
          1. Finding errors in large trace files
          2. Where are my variable values?
      4. Debugging parallel code
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. See also
      5. Visualizing concurrency
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
    14. 6. Asynchrony in .NET
      1. Introduction
      2. Making your code asynchronous
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
      3. Asynchrony and Windows Runtime
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      4. Asynchrony and web applications
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
        5. See also
      5. Actors and the TPL Dataflow Library
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
        5. See also
    15. 7. Unwrapping C++ Development
      1. Introduction
      2. Using XAML with C++
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There’s more…
      3. Unit testing C++ applications
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There’s more…
          1. Running a unit test in debug mode
        5. See also
      4. Analyzing your C++ code
        1. Getting ready
        2. How to do it...
        3. How it works...
      5. Working with DirectX in Visual Studio 2012
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There’s more…
          1. Jumpy rotation
          2. Is managed DirectX supported?
        5. See also
      6. Creating a shader using DGSL
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      7. Creating and displaying a 3D model
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There’s more…
        5. See also
      8. Using the Visual Studio Graphics Debugger
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There’s more…
    16. 8. Working with Team Foundation Server 2012
      1. Introduction
      2. Managing your work
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
        5. See also
      3. Using local workspaces for source control
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
        5. See also
      4. Storyboarding user requirements
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
      5. Performing code reviews
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      6. Getting feedback from your users
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
    17. A. Visual Studio Pot Pourri
      1. Introduction
      2. Creating installer packages
        1. Getting ready
        2. How to do it...
        3. How it works...
      3. Submitting apps to the Windows Store
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
        5. See also
      4. Using the new SQL Server Data Tools
        1. Getting ready
        2. How to do it...
        3. How it works...
      5. Creating Visual Studio add-ins and extensions
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
      6. Creating your own snippets
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
    18. Index
3.129.249.105