Book Image

Visual Studio 2019 Tricks and Techniques

By : Paul Schroeder, Aaron Cure
Book Image

Visual Studio 2019 Tricks and Techniques

By: Paul Schroeder, Aaron Cure

Overview of this book

Visual Studio 2019 (VS 2019) and Visual Studio Code (VS Code) are powerful professional development tools that help you to develop applications for any platform with ease. Whether you want to create web, mobile, or desktop applications, Microsoft Visual Studio is your one-stop solution. This book demonstrates some of the most sophisticated capabilities of the tooling and shows you how to use the integrated development environment (IDE) more efficiently to be more productive. You’ll begin by gradually building on concepts, starting with the basics. The introductory chapters cover shortcuts, snippets, and numerous optimization tricks, along with debugging techniques, source control integration, and other important IDE features that will help you make your time more productive. With that groundwork in place, more advanced concepts such as the inner workings of project and item templates are covered. You will also learn how to write quality, secure code more efficiently as well as discover how certain Visual Studio features work 'under the hood'. By the end of this Visual Studio book, you’ll have learned how to write more secure code faster than ever using your knowledge of the extensions and processes that make developing successful solutions more enjoyable and repeatable.
Table of Contents (21 chapters)
1
Section 1: Visual Studio IDE Productivity Essentials
9
Section 2: Customizing Project Templates and Beyond
13
Section 3: Leveraging Extensions for the Win

Summary

In this chapter, you picked up some experience of installing Docker. We then discussed several ways in which compilation flags and options can be used to control how a compiler builds an assembly. We discussed using regions in code, and you also learned a little about pre- and post-build events. You learned how to use breakpoints, the Immediate window, and the Watch Window to make debugging easier. Even better, you learned how to perform remote debugging using both the full .NET Framework and the .NET Core framework.

We finished up the chapter by discussing versioning assemblies, and we demonstrated techniques to control the build number. That way, it is easy to identify various builds so that you know which assemblies are actually deployed in each environment.

In the next chapter, we will embark on a journey to learn how project and item templates can save time and effort.