Home Page Icon
Home Page
Table of Contents for
Contributors
Close
Contributors
by Kunal Chowdhury
Mastering Visual Studio 2019 - Second Edition
Title Page
Copyright and Credits
Mastering Visual Studio 2019 Second Edition
About Packt
Why subscribe?
Contributors
About the author
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Section 1: What's New in Visual Studio 2019?
What's New in the Visual Studio 2019 IDE?
Technical requirements
The Visual Studio 2019 installation experience
Overview of the installation experience
Installing using the online installer
Creating an offline installer for Visual Studio 2019
Installing Visual Studio 2019 from the command line
Modifying your existing Visual Studio 2019 installation
Uninstalling Visual Studio 2019
Overview of the new Start window
Cloning a repository from the Start window
Opening an existing project or solution from the Start window
Opening a local folder from the Start window
Creating a new project from the Start window
Improved search in Visual Studio 2019
Quick actions improvements for code refactoring
Inverting if statements
Wrapping arguments
Unwrapping arguments
Introducing inline variables
Pulling a member to its base type
Adjusting namespaces to match the folder structure
Converting foreach loops into generalized LINQ queries
Visual Studio IntelliCode
Installing the IntelliCode component
Understanding how IntelliCode helps
One-click code cleanup
Clipboard History
Searching in debugging windows
Time Travel Debugging
Live Share
Creating a new live sharing session
Joining an existing live sharing session
Managing a live sharing session
Product Updates
Summary
Section 2: Building and Managing Applications
Building Desktop Applications for Windows Using WPF
Technical requirements
Understanding the WPF architecture
An overview of XAML
The object element syntax
The property attribute syntax
The property element syntax
The content syntax
The collection syntax
The event attribute syntax
Building your first WPF application
Getting started with the WPF project
Understanding the WPF project structure
Getting familiar with XAML Designer
Adding controls in XAML
Exploring layouts in WPF
Using Grid as a WPF panel
Using StackPanel to define the stacked layout
Using Canvas as a panel
Using WPF DockPanel to dock child elements
Using WrapPanel to automatically reposition elements
Using UniformGrid to place elements in uniform cells
The WPF property system
Data binding in WPF
Using converters while data binding
Using triggers in WPF
The property trigger
The MultiTrigger property
The data trigger
The multi data trigger
The event trigger
Summary
Accelerate Cloud Development with Microsoft Azure
Understanding cloud computing basics
IaaS
PaaS
SaaS
Creating your free Azure account
Configuring Visual Studio 2019 for Azure development
Creating an Azure website from the portal
Creating a web application
Creating an App Service plan
Managing Azure websites (web apps) from the portal
Creating an Azure website with Visual Studio 2019
Creating an ASP.NET web application
Publishing the web application to the cloud
Updating an existing Azure website with Visual Studio
Building a mobile app
Creating an Azure mobile app
Preparing your Azure mobile app for data connectivity
Adding a SQL data connection
Creating a SQL database
Integrating the mobile app service in a Windows application
Creating the model and service client
Integrating the API call
Scaling an App Service plan
Summary
Building Applications with .NET Core
Technical requirements
Overview of .NET Core
Installing .NET Core with Visual Studio 2019
A quick lap around .NET Core commands
Creating a .NET Core console app
Creating a .NET Core class library
Creating a solution file and adding projects to it
Resolving dependencies in .NET Core applications
Building a .NET Core project or solution
Running a .NET Core application
Publishing a .NET Core application
FDD
SCD
Creating an ASP.NET Core application
Creating a unit testing project
Creating .NET Core applications using Visual Studio 2019
Publishing .NET Core applications using Visual Studio 2019
FDD
SCD
Creating, building, and publishing a .NET Core web app to Microsoft Azure
Summary
Web Application Development Using TypeScript
Technical requirements
Setting up the development environment by installing TypeScript
Installing through NPM
Installing through Visual Studio 2019's installer
Building your first Hello TypeScript application
Understanding the TypeScript configuration file
Declaring variables in TypeScript
Declaring variables using the var keyword
Problems with using the var keyword
Declaring variables using the let keyword
Declaring constants using the const keyword
Working with the basic datatypes
Using the number type
Using the string type
Using the bool type
Using the enum type
Using the void type
Using the undefined type
Using the null type
Using the any type to declare a variable
Using the never type
Using the array type
Using the tuple type
Working with classes and interfaces
Defining classes in TypeScript
Initiating an instance of a class
Defining abstract classes in TypeScript
Working with inheritance in TypeScript
Defining interfaces in TypeScript
Classes implementing interfaces
An interface extending another interface
Interfaces extending multiple interfaces
Interfaces extending classes
Summary
Managing NuGet Packages
Technical requirements
Overview of NuGet Package Manager
Creating a NuGet package library for .NET Framework
Creating the metadata in the nuspec file
Building the NuGet package
Building NuGet packages for multiple .NET Frameworks
Building a NuGet package with dependencies
Publishing a NuGet package to the NuGet store
Managing your NuGet packages
Summary
Section 3: Debugging and Testing Applications
Debugging Applications with Visual Studio 2019
Technical requirements
Overview of Visual Studio debugger tools
Debugging C# source code using breakpoints
Organizing breakpoints in code
Debugger execution steps
Adding conditions to breakpoints
Using conditional expressions
Using breakpoint hit counters
Using breakpoint filters
Adding actions to breakpoints
Adding labels to breakpoints
Managing breakpoints using the Breakpoints window
Exporting/importing breakpoints
Using DataTips while debugging
Pinning/unpinning DataTips for better debugging
Inspecting DataTips in various Watch windows
The Autos window
The Locals window
The Watch window
Using visualizers to display complex DataTips
Importing/exporting DataTips
Using the debugger to display debugging information
Using the Immediate Window while debugging your code
Using the Visual Studio Diagnostics Tools
Summary
Live Unit Testing with Visual Studio 2019
Technical requirements
Overview of Live Unit Testing in Visual Studio 2019
Unit testing framework support
Understanding the coverage information shown in the editor
Integration of Live Unit Testing in Test Explorer
Configuring Visual Studio 2019 for Live Unit Testing
Installing the Live Unit Testing component
General settings of Live Unit Testing in Visual Studio
Starting and pausing Live Unit Testing
Including and excluding test methods/projects
Live Unit Testing with Visual Studio 2019
Getting started with configuring the testing project
Understanding the packages.config file
Live Unit Testing with an example
Navigating failed tests
Summary
Section 4: Source Control
Exploring Source Controls in Visual Studio 2019
Technical requirements
Installing Git for Visual Studio 2019
Connecting to the source control servers
Getting started with Git repositories
Creating a new repository
Cloning an existing repository
Working with Git branches
Creating a new local branch
Switching to a different branch
Pushing a local branch to the remote repository
Deleting an existing branch
Working with changes, staging, and commits
Staging changes to your local repository
Committing changes to your local repository
Discarding uncommitted changes
Amending messages to an existing commit
Syncing changes between local and remote repositories
Pushing changes to the remote repository
Fetching changes in the remote repository
Merging changes in the remote repository with your local repository
Resolving merge conflicts
Working with pull requests for a code review
Creating pull requests for a code review
Reviewing an existing pull request
Working with the Git commit history
Rebasing changes to rewrite the commit history
Copying commits using cherry-pick
Undoing your changes
Resetting a local branch to a previous state
Reverting changes from a remote branch
Tagging your commits
Summary
Other Books You May Enjoy
Leave a review - let other readers know what you think
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Why subscribe?
Next
Next Chapter
About the author
Contributors
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset