Professional Visual Studio 2015

Book description

In-depth coverage of the major Visual Studio 2015 revamp

Professional Visual Studio 2015 is the leading pro's guide to new and upgraded features of Microsoft Visual Studio. With a unique IDE-centric approach and deep dive into the software's many nooks and crannies, this book will bring you up to speed quickly on everything Visual Studio 2015 has to offer. Whether you're new to Visual Studio or just upgrading, you'll appreciate in-depth, professional explanation of updates, features, and support. 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.

The Visual Studios 2015 release fixes a number of issues that deterred many professionals from adopting VS 2013. Old products have been retooled, and new features are aimed at productivity enhancement and fixes to UI. Fully aligned with VS 2015, this guide walks you through the changes and helps you incorporate helpful new features into the way you work.

  • Discover new options for themes, displays, and settings

  • Learn the new workflow and shortcuts to ASP.NET code

  • Master improved debugging and unit testing support capabilities

  • Exploit changes to Windows STORE apps, phone apps, Azure, and SharePoint

  • Table of contents

    1. Introduction
      1. Who This Book Is For
      2. What This Book Covers
      3. How This Book Is Structured
      4. What You Need to Use This Book
      5. Conventions
      6. Source Code
      7. Errata
      8. p2p.Wrox.com
    2. Part I: Integrated Development Environment
      1. Chapter 1: A Quick Tour
        1. Getting Started
        2. The Visual Studio IDE
        3. Summary
      2. Chapter 2: The Solution Explorer, Toolbox, and Properties
        1. Wrox.com Code Downloads for this Chapter
        2. The Solution Explorer
        3. The Toolbox
        4. Properties
        5. Summary
      3. Chapter 3: Options and Customizations
        1. Wrox.com Code Downloads for this Chapter
        2. The Start Page
        3. Window Layout
        4. The Editor Space
        5. Other Options
        6. Importing and Exporting Settings
        7. Summary
      4. Chapter 4: The Visual Studio Workspace
        1. Wrox.com Code Downloads for this Chapter
        2. The Code Editor
        3. Code Navigation
        4. The Command Window
        5. The Immediate Window
        6. The Class View
        7. The Error List
        8. The Object Browser
        9. The Document Outline Tool Window
        10. Reorganizing Tool Windows
        11. Summary
      5. Chapter 5: Find and Replace and Help
        1. Wrox.com Code Downloads for this Chapter
        2. Quick Find/Replace
        3. Find/Replace in Files
        4. Accessing Help
        5. Summary
    3. Part II: Getting Started
      1. Chapter 6: Solutions, Projects, and Items
        1. Wrox.com Code Downloads for this Chapter
        2. Solution Structure
        3. Solution File Format
        4. Solution Properties
        5. Project Types
        6. Project Files Format
        7. Project Properties
        8. Web Application Project Properties
        9. Web Site Projects
        10. NuGet Packages
        11. Summary
      2. Chapter 7: IntelliSense and Bookmarks
        1. IntelliSense Explained
        2. JavaScript IntelliSense
        3. XAML IntelliSense
        4. IntelliSense Options
        5. Extended IntelliSense
        6. Bookmarks and the Bookmark Window
        7. Summary
      3. Chapter 8: Code Snippets and Refactoring
        1. Wrox.com Code Downloads for this Chapter
        2. Code Snippets Revealed
        3. Accessing Refactoring Support
        4. Refactoring Actions
        5. Summary
      4. Chapter 9: Server Explorer
        1. Wrox.com Code Downloads for this Chapter
        2. Server Connections
        3. Data Connections
        4. SharePoint Connections
        5. Summary
      5. Chapter 10: Modeling with the Class Designer
        1. Wrox.com Code Downloads for this Chapter
        2. Creating a Class Diagram
        3. The Design Surface
        4. The Toolbox
        5. The Class Details
        6. The Properties Window
        7. Layout
        8. Exporting Diagrams
        9. Code Generation and Refactoring
        10. Summary
    4. Part III: Digging Deeper
      1. Chapter 11: Unit Testing
        1. Wrox.com Code Downloads for this Chapter
        2. Your First Test Case
        3. Asserting the Facts
        4. Initializing and Cleaning Up
        5. Testing Context
        6. Advanced Unit Testing
        7. IntelliTest
        8. Summary
      2. Chapter 12: Documentation with XML Comments
        1. Wrox.com Code Downloads for this Chapter
        2. Inline Commenting
        3. XML Comments
        4. Using XML Comments
        5. Generating Documentation with GhostDoc
        6. Compiling Documentation with Sandcastle
        7. Task List Comments
        8. Summary
      3. Chapter 13: Code Consistency Tools
        1. Wrox.com Code Downloads for this Chapter
        2. Source Control
        3. Summary
      4. Chapter 14: Code Generation with T4
        1. Wrox.com Code Downloads for this Chapter
        2. Creating a T4 Template
        3. T4 Building Blocks
        4. How T4 Works
        5. T4 Directives
        6. Troubleshooting
        7. Generating Code Assets
        8. Runtime Text Templates
        9. Tips and Tricks
        10. Summary
      5. Chapter 15: Project and Item Templates
        1. Wrox.com Code Downloads for this Chapter
        2. Creating Templates
        3. Extending Templates
        4. Starter Kits
        5. Online Templates
        6. Summary
      6. Chapter 16: Language-Specific Features
        1. Wrox.com Code Downloads for this Chapter
        2. Hitting a Nail with the Right Hammer
        3. A Tale of Two Languages
        4. .NET Compiler Platform (Roslyn)
        5. F#
        6. Summary
    5. Part IV: Rich Client Applications
      1. Chapter 17: Windows Forms Applications
        1. Wrox.com Code Downloads for this Chapter
        2. Getting Started
        3. The Windows Form
        4. Form Design Preferences
        5. Adding and Positioning Controls
        6. Container Controls
        7. Docking and Anchoring Controls
        8. Summary
      2. Chapter 18: Windows Presentation Foundation (WPF)
        1. Wrox.com Code Downloads for this Chapter
        2. What Is WPF?
        3. Getting Started with WPF
        4. The WPF Designer and XAML Editor
        5. Styling Your Application
        6. Windows Forms Interoperability
        7. Debugging with the WPF Visualizer
        8. Summary
      3. Chapter 19: Office Business Applications
        1. Wrox.com Code Downloads for this Chapter
        2. Choosing an Office Project Type
        3. Creating a Document-Level Customization
        4. Creating an Application Add-In
        5. Debugging Office Applications
        6. Deploying Office Applications
        7. Summary
      4. Chapter 20: Windows Store Applications
        1. Wrox.com Code Downloads for this Chapter
        2. What Is a Windows Store Application?
        3. Creating a Windows Store Application
        4. .NET Native Compilation
        5. Summary
      5. Chapter 21: Windows Phone
        1. Wrox.com Code Downloads for this Chapter
        2. Creating a Windows Phone Project
        3. Debugging Your Application
        4. Phone Developer Power Tools
        5. Summary
      6. Chapter 22: Universal Apps
        1. Wrox.com Code Downloads for this Chapter
        2. Portable Class Library
        3. Shared Projects
        4. Universal Windows Apps
        5. Summary
    6. Part IV: Rich Client Applications
      1. Chapter 23: ASP.NET Web Forms
        1. Wrox.com Code Downloads for this Chapter
        2. Web Application Versus Web Site Projects
        3. Creating Web Projects
        4. Designing Web Forms
        5. Web Controls
        6. Master Pages
        7. Rich Client-Side Development
        8. Summary
      2. Chapter 24: ASP.NET MVC
        1. Wrox.com Code Downloads for this Chapter
        2. Model View Controller
        3. Getting Started with ASP.NET MVC
        4. Choosing a Model
        5. Controllers and Action Methods
        6. Rendering a UI with Views
        7. Advanced MVC
        8. ASP.NET MVC 6 (and ASP.NET 5)
        9. Summary
      3. Chapter 25: Silverlight
        1. Wrox.com Code Downloads for this Chapter
        2. What Is Silverlight?
        3. Getting Started with Silverlight
        4. Navigation Framework
        5. Theming
        6. Enabling Running Out of Browser
        7. Summary
      4. Chapter 26: SharePoint
        1. Wrox.com Code Downloads for this Chapter
        2. SharePoint Execution Models
        3. Preparing the Development Environment
        4. Exploring SharePoint 2013
        5. Creating a SharePoint Project
        6. Building Custom SharePoint Components
        7. Working with Features
        8. Packaging and Deployment
        9. Summary
      5. Chapter 27: Windows Azure
        1. Wrox.com Code Downloads for this Chapter
        2. The Windows Azure Platform
        3. SQL Azure
        4. AppFabric
        5. Azure Mobile Services
        6. Azure Websites
        7. Azure Virtual Machines
        8. Summary
    7. Part VI: Data
      1. Chapter 28: Visual Database Tools
        1. Wrox.com Code Downloads for this Chapter
        2. Database Windows in Visual Studio 2015
        3. Editing Data
        4. Summary
      2. Chapter 29: DataSets and DataBinding
        1. Wrox.com Code Downloads for this Chapter
        2. DataSets Overview
        3. Binding Data
        4. Working with Data Sources
        5. Summary
      3. Chapter 30: Language Integrated Queries (LINQ)
        1. Wrox.com Code Downloads for this Chapter
        2. LINQ Providers
        3. Old-School Queries
        4. Query Pieces
        5. Debugging and Execution
        6. LINQ to XML
        7. Querying XML
        8. Schema Support
        9. LINQ to SQL
        10. Summary
      4. Chapter 31: The ADO.NET Entity Framework
        1. Wrox.com Code Downloads for this Chapter
        2. What Is the Entity Framework?
        3. Getting Started
        4. Creating an Entity Model
        5. Querying the Entity Model
        6. Advanced Functionality
        7. Summary
      5. Chapter 32: Reporting
        1. Wrox.com Code Downloads for this Chapter
        2. Getting Started with Reporting
        3. Designing Reports
        4. Rendering Reports
        5. Deploying Reports
        6. Summary
    8. Part VII: Application Services
      1. Chapter 33: Windows Communication Foundation (WCF)
        1. Wrox.com Code Downloads for this Chapter
        2. What Is WCF?
        3. Getting Started
        4. Defining Contracts
        5. Configuring WCF Service Endpoints
        6. Hosting WCF Services
        7. Consuming a WCF Service
        8. Summary
      2. Chapter 34: Windows Workflow Foundation (WF)
        1. Wrox.com Code Downloads for this Chapter
        2. What Is Windows Workflow Foundation?
        3. Why Use Windows Workflow?
        4. Workflow Concepts
        5. Getting Started
        6. The Workflow Foundation Designer
        7. Creating a Workflow
        8. Summary
      3. Chapter 35: Client Application Services
        1. Wrox.com Code Downloads for this Chapter
        2. Client Services
        3. Role Authorization
        4. User Authentication
        5. Settings
        6. Login Form
        7. Offline Support
        8. Summary
      4. Chapter 36: Synchronization Services
        1. Wrox.com Code Downloads for this Chapter
        2. Occasionally Connected Applications
        3. Server Direct
        4. Getting Started with Synchronization Services
        5. Synchronization Services over N-Tiers
        6. Summary
    9. Part VIII: Configuration and Resources
      1. Chapter 37: Configuration Files
        1. Wrox.com Code Downloads for this Chapter
        2. .Config Files
        3. Configuration Schema
        4. Application Settings
        5. User Settings
        6. Referenced Projects with Settings
        7. Summary
      2. Chapter 38: Connection Strings
        1. Wrox.com Code Downloads for this Chapter
        2. Connection String Wizard
        3. SQL Server Format
        4. In-Code Construction
        5. Encrypting Connection Strings
        6. LocalDB
        7. Azure SQL Database
        8. Summary
      3. Chapter 39: Resource Files
        1. Wrox.com Code Downloads for this Chapter
        2. What Are Resources?
        3. Resourcing Your Application
        4. Satellite Resources
        5. Accessing Specifics
        6. Coding Resource Files
        7. Custom Resources
        8. Summary
    10. Part IX: Debugging
      1. Chapter 40: Using the Debugging Windows
        1. Wrox.com Code Downloads for this Chapter
        2. The Code Window
        3. The Breakpoints Window
        4. The Output Window
        5. The Immediate Window
        6. The Watch Windows
        7. The Code Execution Windows
        8. The Memory Windows
        9. The Parallel Debugging Windows
        10. Exceptions
        11. Summary
      2. Chapter 41: Debugging with Breakpoints
        1. Wrox.com Code Downloads for this Chapter
        2. Breakpoints
        3. Tracepoints
        4. Execution Control
        5. Edit and Continue
        6. Summary
      3. Chapter 42: DataTips, Debug Proxies, and Visualizers
        1. Wrox.com Code Downloads for this Chapter
        2. DataTips
        3. Debugger Attributes
        4. Type Proxies
        5. Visualizers
        6. Advanced Techniques
        7. Summary
      4. Chapter 43: Debugging Web Applications
        1. Wrox.com Code Downloads for this Chapter
        2. Debugging Server-Side ASP.NET Code
        3. Debugging Client-Side JavaScript
        4. Tracing
        5. Health Monitoring
        6. Summary
      5. Chapter 44: Advanced Debugging Techniques
        1. Wrox.com Code Downloads for this Chapter
        2. Start Actions
        3. Debugging with Code
        4. Debugging Running Applications
        5. Diagnostic Tools
        6. .NET Framework Source
        7. Multithreaded and Parallelized Application Debugging
        8. Debugging SQL Server Stored Procedures
        9. Mixed-Mode Debugging
        10. Postmortem Debugging
        11. Summary
    11. Part X: Build and Deployment
      1. Chapter 45: Upgrading with Visual Studio 2015
        1. Wrox.com Code Downloads for this Chapter
        2. Upgrading from Recent Visual Studio Versions
        3. Upgrading to .NET Framework 4.6
        4. Summary
      2. Chapter 46: Build Customization
        1. Wrox.com Code Downloads for this Chapter
        2. General Build Options
        3. Manual Dependencies
        4. The Visual Basic Compile Page
        5. C# Build Pages
        6. MSBuild
        7. Summary
      3. Chapter 47: Assembly Versioning and Signing
        1. Wrox.com Code Downloads for this Chapter
        2. Assembly Naming
        3. Version Consistency
        4. Strongly Named Assemblies
        5. The Global Assembly Cache
        6. Signing an Assembly
        7. Summary
      4. Chapter 48: Obfuscation, Application Monitoring, and Management
        1. Wrox.com Code Downloads for this Chapter
        2. The IL Disassembler
        3. Decompilers
        4. Obfuscating Your Code
        5. Application Monitoring and Management
        6. Summary
      5. Chapter 49: Packaging and Deployment
        1. Wrox.com Code Downloads for this Chapter
        2. Windows Installer XML Toolset
        3. ClickOnce
        4. Summary
      6. Chapter 50: Web Application Deployment
        1. Wrox.com Code Downloads for this Chapter
        2. Web Deployment
        3. Web Project Installers
        4. The Web Platform Installer
        5. Summary
    12. Part XI: Customizing and Extending Visual Studio
      1. Chapter 51: The Automation Model
        1. Wrox.com Code Downloads for this Chapter
        2. Visual Studio Extensibility Options
        3. The Visual Studio Automation Model
        4. Summary
      2. Chapter 52: VSPackages
        1. Wrox.com Code Downloads for this Chapter
        2. Developing a VSPackage Extension
        3. Deploying VSPackages
        4. Summary
      3. Chapter 53: Managed Extensibility Framework (MEF)
        1. Wrox.com Code Downloads for this Chapter
        2. Getting Started with MEF
        3. The Visual Studio Editor
        4. Extending the Editor
        5. Summary
    13. Part XII: Visual Studio Enterprise
      1. Chapter 54: Visual Studio Enterprise for Architects
        1. Wrox.com Code Downloads for this Chapter
        2. Modeling Projects
        3. Exploring Code with Code Maps
        4. Summary
      2. Chapter 55: Visual Studio Enterprise for Developers
        1. Wrox.com Code Downloads for this Chapter
        2. Code Metrics
        3. Code Analysis Tool
        4. C/C++ Code Analysis Tool
        5. Profiling Tools
        6. Standalone Profiler
        7. IntelliTrace
        8. Database Tools
        9. Summary
      3. Chapter 56: Visual Studio Enterprise for Testers
        1. Wrox.com Code Downloads for this Chapter
        2. Automated Tests
        3. Relating Code and Tests
        4. Visual Studio Test Management
        5. Microsoft Test Manager
        6. Summary
      4. Chapter 57: Team Foundation Server
        1. Wrox.com Code Downloads for this Chapter
        2. Team Project
        3. Process Templates
        4. Work Item Tracking
        5. Excel and Project Integration
        6. Version Control
        7. Team Foundation Build
        8. Reporting and Business Intelligence
        9. Team Portal
        10. Summary
      5. End User License Agreement

    Product information

    • Title: Professional Visual Studio 2015
    • Author(s):
    • Release date: September 2015
    • Publisher(s): Wrox
    • ISBN: 9781119068051