Visual Studio 2015 Cookbook - Second Edition

Book description

Over 50 new and improved recipes to put Visual Studio 2015 to work in your crucial development projects

About This Book

  • Get to grips with all the new Visual Studio 2015 features regardless of your preferred programming language
  • Apply Visual Studio to all areas of development: writing, debugging, and application lifecycle maintenance
  • Straightforward and hands-on advice for building both Windows and Android apps

Who This Book Is For

If you are a developer excited about the new features introduced in Visual Studio 2015, then no matter what your programming language of choice is, Visual Studio 2015 Cookbook is for you. You should have a good knowledge of working with previous versions of Visual Studio to benefit from the recipes in this book.

What You Will Learn

  • Customize the editor's new abilities to fit your development style
  • Create apps for Windows
  • Use Visual Studio to debug parallel and concurrent programs
  • Integrate .NET Framework 4.6 effectively
  • Put TypeScript to work in your web applications
  • Develop modern C++11 with Visual Studio 2015
  • Protect and manage your source code with Team Foundation Server

In Detail

Visual Studio 2015 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 2015 is packed with improvements that increase productivity, and this book walks you through each one in succession to help you smooth your workflow and get more accomplished. From customization and the interface to code snippets and debugging, the Visual Studio upgrade expands your options - and this book is your fast-track guide to getting on board quickly.

Visual Studio 2015 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 VS2015 offers, but what it takes to put it to work for your projects.

Style and approach

This book is a practical guide to using Visual Studio 2015 and will help you become familiar with the improvements made in previous versions. Each recipe provides a hands-on approach to the new features with step-by-step instructions on how to increase your productivity.

Table of contents

  1. Visual Studio 2015 Cookbook Second Edition
    1. Table of Contents
    2. Visual Studio 2015 Cookbook Second Edition
    3. Credits
    4. About the Author
    5. About the Reviewer
    6. www.PacktPub.com
      1. eBooks, discount offers, and more
        1. Why subscribe?
    7. Preface
      1. Choosing the right version of Visual Studio 2015
      2. What this book covers
      3. What you need for this book
      4. Who this book is for
      5. Sections
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
        5. See also
      6. Conventions
      7. Reader feedback
      8. Customer support
        1. Downloading the color images of this book
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Exploring Visual Studio 2015
      1. Introduction
      2. Synchronizing settings
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
      3. Touring the VS2015 IDE
        1. Getting ready
        2. How to do it…
          1. Send Feedback
          2. Notifications
          3. User account
          4. Scroll bar thumbnail
          5. Peek Definition
          6. CodeLens (Visual Studio Professional and Enterprise only)
          7. Code Maps (Visual Studio Enterprise only)
        3. See also
      4. 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
      5. Finding Visual Studio commands
        1. Getting ready
        2. How to do it…
        3. There's more…
      6. Searching and navigating
        1. Getting ready
        2. How to do it…
        3. There's more…
          1. Quickly searching your code
      7. 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 Universal Windows Platform Apps
      1. Introduction
      2. Enabling UWP app development on Windows 10
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
      3. Creating a UWP 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. Class Library
            3. Windows Runtime Component
            4. Unit Test App
            5. Coded UI Test Project (Windows Phone)
            6. Coded UI Test Project (Windows)
            7. C++ specific UWP templates
          2. Language interoperability
      4. Customizing your UWP app
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more…
          1. SplitView
          2. RelativePanel
          3. CalendarView
          4. CalendarDatePicker
          5. MediaTransportControls
        5. See also
      5. Using the UWP app simulator
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
          1. Resolution and resizing
          2. Change network properties
          3. Remote debugging
          4. Taking screenshots
          5. Fresh app install
        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. Declarations
            1. Background tasks
            2. Update task
            3. Search contract
            4. File Type Associations
            5. Certificates
          2. Capabilities
            1. Internet (Client)
            2. Internet (Client & Server)
            3. Home or work networking
          3. 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 UWP 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. Submitting your app to the Windows Store
        1. Getting ready
        2. How to do it…
        3. How it works...
        4. There's more…
        5. See also
      11. Distributing your UWP app through sideloading
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
        5. See also
    10. 3. Web Development
      1. Introduction
      2. Getting started with a Bootstrap-based SPA
        1. Getting ready
        2. How to do it…
        3. There's more…
        4. See also
      3. Making the most of Browser Link
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
          1. Supporting static HTML files
      4. Adding bundling and minification to JavaScript and CSS files
        1. Getting ready
        2. How to do it…
        3. How it works…
      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. Fortifying JavaScript applications with TypeScript
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
      7. Using Visual Studio for Node.js development
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
        5. See also
    11. 4. .NET Framework Development
      1. Introduction
      2. Creating a task-based WCF service
        1. Getting ready
        2. How to do it...
        3. How it works...
      3. 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
      4. Sharing class libraries across different runtimes
        1. Getting ready
        2. How to do it...
        3. How it works...
          1. Viewing defined targets
        4. There's more…
      5. Detecting duplicate code
        1. Getting ready
        2. How to do it…
        3. How it works...
        4. There's more…
      6. Exploring C# through the Immediate window
        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. Putting Diagnostic Tools to work
        1. Getting ready
        2. How to do it…
        3. How it works...
        4. There's more…
        5. See also
      3. Maximizing everyday debugging
        1. Getting ready
        2. How to do it…
        3. There's more…
      4. 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
      5. Debugging code in production with IntelliTrace
        1. Getting ready
        2. How to do it...
        3. How it works...
          1. Is your application in break mode?
        4. There's more…
          1. Finding the variable values
      6. Debugging parallel code
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      7. 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 Universal Windows Platform apps
        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. Debugging unit tests
        5. See also
      4. Analyzing your C++ code
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
          1. Selecting Active ruleset
          2. Improving C++ source navigation speed
        5. See also
      5. Using a custom ruleset
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
      6. Edit and Continue C++ style
        1. Getting ready
        2. How to do it...
        3. How it works…
      7. Working with DirectX in Visual Studio 2015
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
          1. Is managed DirectX supported?
        5. See also
      8. Creating a shader using DGSL
        1. Getting ready
        2. How to do it…
        3. How it works...
        4. See also
      9. 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
      10. 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 2015
      1. Introduction
      2. Creating a new TFS project
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
        5. See also
      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
          3. Suspending 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…
          1. Viewing or changing local workplace settings
        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...
          1. Staging files
          2. Looking ahead
        5. See also
      8. Taking Advantage of Git's command line
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more…
    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…
      5. Targeting Linux with Visual Studio 2015
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
    17. 10. Final Polish
      1. Introduction
      2. Creating installer packages with InstallShield LE
        1. Getting ready
        2. How to do it…
        3. How it works...
        4. See also
      3. Creating custom installer packages
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
      4. Submitting UWP apps to the Windows Store
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
        5. See also
      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

Product information

  • Title: Visual Studio 2015 Cookbook - Second Edition
  • Author(s): Jeff Martin
  • Release date: August 2016
  • Publisher(s): Packt Publishing
  • ISBN: 9781785887260