You are previewing Visual Studio 2013 Cookbook.
O'Reilly logo
Visual Studio 2013 Cookbook

Book Description

Understanding the latest features of Visual Studio can speed up and streamline your projects. And there’s no better learning tool than this collection of focused recipes that gives you the fast, hands-on experience you need.

In Detail

Visual Studio 2013 is the premier tool for developers targeting the Microsoft platform. Learning how to effectively use this technology can enhance your productivity while simplifying your most common tasks, allowing you more time to focus on your project.

Visual Studio 2013 Cookbook will introduce you to all the new areas of Visual Studio and how they can quickly be put to use to improve your everyday development tasks. With this book, you will learn not only what VS2013 offers, but what it takes to put it to work for your projects.

Updated and expanded for VS2013, this book begins by introducing you to the interface changes to Visual Studio and then moves on to demonstrate how VS2013 can be used for developing desktop, mobile, and web applications. This book provides a comprehensive overview of all areas of Visual Studio. This practical approach will benefit you greatly if you are a newcomer but also if you want a tour of what the latest edition of Visual Studio has to offer. The recipes in this book provide useful examples of VS2013 which can help you whether you are targeting the Web, mobile devices, or the traditional Windows desktop.

What You Will Learn

  • Customize the editor's new abilities to fit your development style
  • Create apps for Windows 8.1
  • Use Visual Studio to debug parallel and concurrent programs
  • Integrate .NET Framework 4.5.1 effectively
  • Learn about both the Express and premium editions of Visual Studio
  • Maximize Visual Studio's C++ tools to make development easier
  • Put TypeScript to work in your web applications
  • Protect and manage your source code with Team Foundation Server
  • Learn about Visual Studio Online
  • Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

    Table of Contents

    1. Visual Studio 2013 Cookbook
      1. Table of Contents
      2. Visual Studio 2013 Cookbook
      3. Credits
      4. About the Authors
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers, and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
          3. Instant Updates on New Packt Books
      7. Preface
        1. While you were gone
          1. VS2012 Update 1
          2. VS2012 Update 2
          3. VS2012 Update 3
          4. VS2012 Update 4
        2. Choosing a version of Visual Studio 2013
        3. What this book covers
        4. What you need for this book
        5. Who this book is for
        6. Conventions
        7. Reader feedback
        8. Customer support
        9. Downloading the example code
          1. Downloading the color images of this book
        10. Errata
        11. Piracy
        12. Questions
      8. 1. Discovering Visual Studio 2013
        1. Introduction
        2. Synchronizing settings
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
        3. Touring the VS2013 IDE
          1. Getting ready
          2. How to do it…
          3. See also
        4. Project round-tripping
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
            1. Windows Store applications
            2. The Model-View-Controller (MVC) framework
            3. MSI setup (.vdproj)
            4. Upgrading an existing project
            5. Creating a new project
        5. Managing the 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
        6. Finding Visual Studio commands
          1. Getting ready
          2. How to do it…
          3. There's more…
        7. Searching and navigating
          1. Getting ready
          2. How to do it…
          3. There's more…
            1. Quickly searching your code
        8. Navigating in depth
          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
      9. 2. Getting Started with Windows Store Applications
        1. Introduction
        2. Getting a Windows Store app developer license
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
            1. Choosing the right development technology
        3. Creating a Windows Store app
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
            1. Choosing the right project type
              1. Blank App
              2. Grid App
              3. Split App
              4. Fixed Layout App
              5. Navigation App
              6. Hub App
            2. Class Library
            3. Portable Class Library
            4. Unit Test Library
              1. Coded UI Testing
            5. DLL (Windows Store apps)
            6. Static Library (Windows Store apps)
            7. Windows Runtime Component
            8. DirectX App (XAML) and DirectX App
            9. Technology choice impacts available project templates
            10. .NET projects and the Windows Store apps profile
            11. Language interoperability
        4. 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. Additional 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. Hub Page
              8. Group Detail Page
              9. Resource Directory
              10. Templated Control
              11. User Control
              12. File Open Picker Contract
              13. Search Results Page
              14. Share Target Contract
              15. Settings Flyout
              16. Resources File
              17. Page Control
            2. Language impacts item template options
          5. See also
        5. Using the Windows Store app 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
        6. Defining capabilities and contracts
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
            1. Contact Picker
            2. File Open Picker
            3. Search
            4. File Type Associations
            5. Share Target
            6. Capabilities
            7. Internet (Client)
            8. Internet (Client & Server)
            9. Home or Work Networking
            10. Library access
          5. See also
        7. Analyzing your App's performance
          1. Getting ready
          2. How to do it…
          3. How it works...
          4. There's more...
        8. Packaging your Windows Store app
          1. Getting ready
          2. How to do it...
          3. How it works…
          4. There's more...
          5. See also
        9. Validating your Windows Store app
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
      10. 3. Web Development – ASP.NET, HTML5, CSS, and JavaScript
        1. Introduction
        2. Getting started with Bootstrap
          1. Getting ready
          2. How to do it…
          3. There's more…
            1. Visual Studio 2012 Templates
          4. See also
        3. Previewing changes across multiple browsers
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more...
        4. Creating HTML5 web pages
          1. Getting ready
          2. How to do it…
          3. There's more…
        5. Taking advantage of the CSS editor improvements
          1. Getting ready
          2. How to do it...
          3. How it works...
        6. Understanding the JavaScript editor improvements
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more…
          5. See also
        7. Adding bundling and minification to JavaScript and CSS files
          1. Getting ready
          2. How to do it...
          3. How it works…
          4. See also
        8. Verifying pages with the Page Inspector tool
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more…
            1. Partial pages and user controls
            2. If Page Inspector is too narrow
      11. 4. .NET Framework 4.5.1 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
          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…
            1. Automatically loading packages
            2. Using custom package locations
        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
            3. Automatically trigger test execution
          5. See also
        7. Sharing class libraries across runtimes
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more…
        8. Detecting duplicate code
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more…
      12. 5. Debugging Your .NET Application
        1. Introduction
        2. Maximizing everyday debugging
          1. Getting ready
          2. How to do it…
          3. There's more…
        3. 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. Deploying directly to a remote machine
            3. Missing symbols
        4. Debugging code in production with IntelliTrace
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more…
            1. Finding the variable values
        5. Debugging parallel code
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        6. Visualizing concurrency
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
      13. 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…
          5. See also
        3. Understanding asynchrony and the Windows Runtime
          1. Getting ready
          2. How to do it...
          3. How it works...
        4. Using asynchrony with web applications
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more…
          5. See also
        5. Working with 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
      14. 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…
          4. There's more…
          5. See also
        5. Using a custom rule set
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
        6. Working with DirectX in Visual Studio 2013
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more…
            1. Is managed DirectX supported?
          5. See also
        7. Creating a shader using DGSL
          1. Getting ready
          2. How to do it…
          3. How it works...
          4. See also
        8. 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
        9. Using the Visual Studio Graphics Diagnostics
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more…
      15. 8. Working with Team Foundation Server 2013
        1. Introduction
        2. Creating a new TFS project
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
        3. Managing your work
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more…
            1. Using favorites
            2. Shelving active work
          5. See also
        4. 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
        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...
        7. Using Git for source control
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
      16. 9. Languages
        1. Introduction
        2. Fortifying JavaScript applications with TypeScript
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
        3. Integrating Python into Visual Studio
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
        4. Integrating Python with .NET
          1. Getting ready
          2. How to do it…
          3. How it works…
      17. A. Visual Studio Medley
        1. Introduction
        2. Creating installer packages
          1. Getting ready
          2. How to do it…
          3. How it works...
          4. See also
        3. Submitting apps to the Windows Store
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more…
            1. Sideloading
          5. See also
        4. Creating Visual Studio add-ins and extensions
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more…
        5. Creating your own snippets
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more…
      18. Index