Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Visual Studio 2019 Tricks and Techniques
  • Table Of Contents Toc
Visual Studio 2019 Tricks and Techniques

Visual Studio 2019 Tricks and Techniques

By : Aaron Cure, Paul Schroeder
4.2 (9)
close
close
Visual Studio 2019 Tricks and Techniques

Visual Studio 2019 Tricks and Techniques

4.2 (9)
By: Aaron Cure, Paul Schroeder

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)
close
close
1
Section 1: Visual Studio IDE Productivity Essentials
9
Section 2: Customizing Project Templates and Beyond
13
Section 3: Leveraging Extensions for the Win

Deploying snippets

In this section, you will learn how to deploy and use the snippet we examined in the previous example. As previously mentioned, one option is to import code snippets using the Code Snippets Manager. A non-standard approach is to simply copy one or more snippet files directly into a subfolder of your Documents\Visual Studio 2019\Code Snippets directory. If you have a lot of great snippets to share broadly, it is also possible to bundle snippet files into a Visual Studio extension (VSIX file) for easy distribution and installation. That is a bit beyond the scope of this chapter, but instructions on how to do so can be found at https://docs.microsoft.com/en-us/visualstudio/ide/how-to-distribute-code-snippets?view=vs-2019.

Importing a custom snippet

In this example, we are going to import the snippet we examined in the previous example. You will then be able to easily use it in other projects to time how long it takes to execute code within a method. Let's...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Visual Studio 2019 Tricks and Techniques
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon