Professional Visual Studio 2017: Website Associated With Book 1119404584, 9781119404583

Skip the basics and delve right into Visual Studio 2017 advanced features and tools Professional Visual Studio 2017 is t

746 52 62MB

English Pages 864 [863] Year 2017

Report DMCA / Copyright

DOWNLOAD FILE

Professional Visual Studio 2017: Website Associated With Book
 1119404584, 9781119404583

Table of contents :
Cover
Title Page
Copyright
About the Author
About the Technical Editor
Credits
Acknowledgments
Contents
Introduction
Who This Book is for
What This Book Covers
How This Book is Structured
What you Need to use This Book
Conventions
Source Code
Errata
P2P.Wrox.Com
Part I: Integrated Development Environment
Chapter 1: A Quick Tour
Getting Started
Installing Visual Studio 2017
Running Visual Studio 2017
Is Visual Studio Really Cloud Enabled?
The Visual Studio IDE
Developing, Building, Debugging, and Deploying Your First Application
Summary
Chapter 2: The Solution Explorer, Toolbox, and Properties
The Solution Explorer
Previewing Files
Common Tasks
The Toolbox
Arranging Components
Adding Components
Properties
Extending the Properties Window
Summary
Chapter 3: Options and Customizations
The Start Page
Customizing the Start Page
Window Layout
Viewing Windows and Toolbars
Docking
Saving the Window Layout
The Editor Space
Navigating Open Items
Fonts and Colors
Visual Guides
Full-Screen Mode
Tracking Changes
Other Options
Keyboard Shortcuts
Quick Launch
Projects and Solutions
Build and Run
VB Options
Importing and Exporting Settings
Synchronized Settings
Summary
Chapter 4: The Visual Studio Workspace
The Code Editor
The Code Editor Window Layout
Regions
Outlining
Code Formatting
Navigating Forward/Backward
Additional Code Editor Features
Split View
Tear Away (Floating) Code Windows
Duplicating Solution Explorer
Creating Tab Groups
Advanced Functionality
Code Navigation
Peek Definition
Enhanced Scrollbar
Structure Visualizer
Navigate To
The Command Window
The Immediate Window
The Class View
The Error List
The Object Browser
Summary
Chapter 5: Find and Replace and Help
Quick Find/Replace
Quick Find
Quick Replace
Find Options
Find and Replace Options
Find/Replace in Files
Find in Files
Find Dialog Options
Regular Expressions
Results Window
Replace in Files
Accessing Help
Navigating and Searching the Help System
Configuring the Help System
Summary
Part II: Getting Started
Chapter 6: Solutions, Projects, and Items
Solution Structure
Solution File Format
Solution Properties
Common Properties
Configuration Properties
Project Types
Project Files Format
Project Properties
Application
Compile (Visual Basic Only)
Build (C# and F# Only)
Build Events (C# and F# Only)
Debug
References (Visual Basic Only)
Resources
Services
Settings
Reference Paths (C# and F# Only)
Signing
My Extensions (Visual Basic Only)
Security
Publish
Code Analysis
C/C++ Code Analysis Tool
Web Application Project Properties
Web
Package/Publish Web
Package/Publish SQL
Web Site Projects
NuGet Packages
NuGet Package Manager
Package Manager Console
Summary
Chapter 7: IntelliSense and Bookmarks
IntelliSense Explained
General IntelliSense
IntelliSense and C++
Completing Words and Phrases
Parameter Information
Quick Info
JavaScript IntelliSense
The JavaScript IntelliSense Context
Referencing Another JavaScript File
XAML IntelliSense
IntelliSense Options
General Options
Statement Completion
C#-Specific Options
Extended IntelliSense
Code Snippets
XML Comments
Adding Your Own IntelliSense
Bookmarks and the Bookmark Window
Summary
Chapter 8: Code Snippets and Refactoring
Code Snippets Revealed
Storing Code Blocks in the Toolbox
Code Snippets
Using Snippets in C#
Using Snippets in VB
Surround With Snippet
Code Snippets Manager
Creating Snippets
Reviewing Existing Snippets
Distributing Code Snippets
Accessing Refactoring Support
Refactoring Actions
Extract Method
Encapsulate Field
Extract Interface
Change Signature
Inline and Explaining Variables
Rename
Simplify Object Initialization
Inline Variable Declarations
Use “throw” Expression
Generate Method Stub
Remove and Sort Usings
Summary
Chapter 9: Server Explorer
Server Connections
Event Logs
Message Queues
Performance Counters
Services
Data Connections
SharePoint Connections
Summary
Part III: Digging Deeper
Chapter 10: Unit Testing
Your First Test Case
Identifying Tests Using Attributes
Additional Test Attributes
Unit Tests and Code Lens
Asserting the Facts
The Assert Class
The StringAssert Class
The CollectionAssert Class
The ExpectedException Attribute
Initializing and Cleaning Up
TestInitialize and TestCleanup
ClassInitialize and ClassCleanup
AssemblyInitialize and AssemblyCleanup
Testing Context
Data
Writing Test Output
Live Unit Testing
Advanced Unit Testing
Custom Properties
Testing Private Members
IntelliTest
Summary
Chapter 11: Project and Item Templates
Creating Templates
Item Template
Project Template
Template Structure
Template Parameters
Template Locations
Extending Templates
Template Project Setup
IWizard
Generating the Extended Project Template
Starter Kits
Online Templates
Summary
Chapter 12: Managing Your Source Code
Source Control
Selecting a Source Control Repository
Accessing Source Control
Summary
Part IV: Desktop Applications
Chapter 13: Windows Forms Applications
Getting Started
The Windows Form
Appearance Properties
Layout Properties
Window Style Properties
Form Design Preferences
Adding and Positioning Controls
Vertically Aligning Text Controls
Automatic Positioning of Multiple Controls
Tab Order and Layering Controls
Locking Control Design
Setting Control Properties
Service-Based Components
Smart Tag Tasks
Container Controls
Panel and SplitContainer
FlowLayoutPanel
TableLayoutPanel
Docking and Anchoring Controls
Summary
Chapter 14: Windows Presentation Foundation (WPF)
What Is WPF?
Getting Started with WPF
XAML Fundamentals
The WPF Controls
The WPF Layout Controls
The WPF Designer and XAML Editor
Working with the XAML Editor
Working with the WPF Designer
The Properties Tool Window
Data Binding Features
Styling Your Application
Windows Forms Interoperability
Hosting a WPF Control in Windows Forms
Hosting a Windows Forms Control in WPF
Debugging with the WPF Visualizer
Summary
Chapter 15: Universal Windows Platform Apps
What Is a Windows App?
Content before Chrome
Snap and Scale
Semantic Zoom
Tiles
Embracing the Cloud
Creating a Windows App
The Windows Simulator
Windows Runtime Components
.NET Native Compilation
Compiling Using .NET Native Tools
Summary
Part V: Web Applications
Chapter 16: ASP.NET Web Forms
Web Application Versus Web Site Projects
Creating Web Projects
Creating a Web Site Project
Creating a Web Application Project
Designing Web Forms
The HTML Designer
Positioning Controls and HTML Elements
Formatting Controls and HTML Elements
CSS Tools
Validation Tools
Web Controls
Navigation Components
User Authentication
Data Components
Master Pages
Rich Client-Side Development
Developing with JavaScript
Working with ASP.NET AJAX
Summary
Chapter 17: ASP.NET MVC
Model View Controller
Getting Started with ASP.NET MVC
Choosing a Model
Controllers and Action Methods
MVC Scaffolding
Rendering a UI with Views
Advanced MVC
Routing
Action Method Parameters
Areas
Validation
Partial Views
Dynamic Data Templates
jQuery
Summary
Chapter 18: .NET Core
What Is .NET Core?
Working with ASP.NET Core
project.json versus csproj
Creating an ASP.NET Core Application
NuGet Package Manager
Bower Package Manager
Summary
Chapter 19: Node.js Development
Getting Started with Node.js
Node Package Manager
Task Runner Explorer
Summary
Chapter 20: Python Development
Getting Started with Python
Cookiecutter Extension
Summary
Part VI: Mobile Applications
Chapter 21: Mobile Applications Using .NET
Using Xamarin
Creating a Xamarin Forms Project
Debugging Your Application
Universal Windows Platform
Android
iOS
Summary
Chapter 22: Mobile Applications Using JavaScript
What Is Apache Cordova?
Creating an Apache Cordova Project
Merges Folder
Plugins Folder
www Folder
Additional Files and Folders
Debugging in Apache Cordova
Summary
Part VII: Cloud Services
Chapter 23: Windows Azure
The Windows Azure Platform
The Compute Emulator
Communicating between Roles
Application Deployment
SQL Azure
Service Fabric
Azure Mobile App
Azure Virtual Machines
Connectivity
Endpoints
Virtual Network
Summary
Chapter 24: Synchronization Services
Occasionally Connected Applications
Server Direct
Getting Started with Synchronization Services
Synchronization Services over N-Tiers
Summary
Chapter 25: SharePoint
SharePoint Execution Models
Farm Solution
Sandbox Solution
App Model
Preparing the Development Environment
Creating a SharePoint Project
Running Your Application
Summary
Part VIII: Data
Chapter 26: Visual Database Tools
Database Windows in Visual Studio 2017
Server Explorer
The Data Sources Window
SQL Server Object Explorer
Editing Data
Redgate Data Tools
ReadyRoll Core
SQL Prompt Core
SQL Search
Summary
Chapter 27: The ADO.NET Entity Framework
What Is the Entity Framework?
Getting Started
Creating an Entity Model
The Entity Data Model Wizard
The Entity Framework Designer
Creating/Modifying Entities
Creating/Modifying Entity Associations
Entity Inheritance
Validating an Entity Model
Updating an Entity Model with Database Changes
Querying the Entity Model
LINQ to Entities Overview
Getting an Object Context
CRUD Operations
Navigating Entity Associations
Advanced Functionality
Updating a Database from an Entity Model
Adding Business Logic to Entities
Plain Old CLR Objects (POCO)
Entity Framework Core
Summary
Chapter 28: Data Warehouses and Lakes
What Is Apache Hadoop?
Hadoop Distributed File System
MapReduce
Additional Components
HDInsight
Azure Data Lakes
Data Lake Tools for Visual Studio
Creating a Hive Application
Creating a Pig Application
Summary
Chapter 29: Data Science and Analytics
What Is R?
R Tools for Visual Studio
Debugging an R Script
Workspaces
Plotting Windows
Summary
Part IX: Debugging
Chapter 30: Using the Debugging Windows
The Code Window
Breakpoints
DataTips
The Breakpoints Window
The Output Window
The Immediate Window
The Watch Windows
QuickWatch
Watch Windows 1–4
Autos and Locals
The Code Execution Windows
Call Stack
Threads
Modules
Processes
The Memory Windows
Memory Windows 1–4
Disassembly
Registers
The Parallel Debugging Windows
Parallel Stacks
Parallel Tasks
Exceptions
Summary
Chapter 31: Debugging with Breakpoints
Breakpoints
Setting a Breakpoint
Adding Break Conditions
Working with Breakpoints
Tracepoints
Execution Control
Stepping through Code
Run to Cursor
Moving the Execution Point
Edit and Continue
Rude Edits
Stop Applying Changes
Summary
Part X: Build and Deployment
Chapter 32: Upgra Ding With Visual Studio 2017
Upgrading from Recent Visual Studio Versions
Upgrading to .NET Framework 4.6.2
Summary
Chapter 33: Build Customization
General Build Options
Manual Dependencies
The Visual Basic Compile Page
Advanced Compiler Settings
Build Events
C# Build Pages
MSBuild
How Visual Studio Uses MSBuild
The MSBuild Schema
Assembly Versioning via MSBuild Tasks
Summary
Chapter 34: Obfuscation, Application Monitoring, and Management
The IL Disassembler
Decompilers
Obfuscating Your Code
Dotfuscator and Analytics
Obfuscation Attributes
Words of Caution
Application Monitoring and Management
Tamper Defense
Application Instrumentation and Analytics
Summary
Chapter 35: Packaging and Deployment
Windows Installer XML Toolset
Building an Installer
Using Heat to Create Fragments
The Service Installer
ClickOnce
One Click to Deploy
One Click to Update
Summary
Chapter 36: Web Application Deployment
Web Deployment
Publishing a Web Application
Publishing to Azure
Web Project Installers
The Web Platform Installer
Extending the Web Platform Installer
Summary
Chapter 37: Continuous Delivery
Nomenclature
Continuous Delivery
Continuous Integration
DevOps
Continuous Delivery Tools
Setting Up Continuous Delivery
Heads Up Code Analysis
Automatic Build Notifications
Summary
Part XI: Visual Studio Editions
Chapter 38: Visual Studio Enterprise: Code Quality
Dependency Verification
Exploring Code with Code Maps
Code Cloning
Summary
Chapter 39: Visual Studio Enterprise: Testing and Debugging
Automated Tests
Web Performance Tests
Load Tests
Coded UI Tests
Generic Tests
Ordered Tests
IntelliTrace
Diagnostic Tools
IntelliTest
Summary
Chapter 40: Visual Studio Team Services
Getting Started with Git
Version Control
Committing
Branching
Syncing
Work Item Tracking
Work Item Queries
Work Item Types
Adding Work Items
Work Item State
Builds
Web Portal
Summary
Index
EULA

Polecaj historie