Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
strauss_d_getting_started_with_visual_studio_2022_learning_a.pdf
Скачиваний:
123
Добавлен:
26.06.2023
Размер:
17.04 Mб
Скачать

Chapter 1 Getting to Know Visual Studio 2022

Summary

This chapter gave us a brief look around Visual Studio 2022. We explored the IDE and saw how to navigate code. Productivity features were discussed along with the

requirements for installing Visual Studio 2022. Lastly, we had a look at some of the other features included in Visual Studio such as its powerful search capabilities, Solution Filters, IntelliCode, whole line completions, and Live Share.

In the next chapter, we will be getting our hands dirty and start working with Visual Studio by looking at the various project templates included in Visual Studio 2022. We will briefly discuss MAUI, as well as how to create a MAUI project. We will also discuss NuGet and how to use this in Visual Studio as well as managing nmp packages. A particular favorite feature of mine is Visual Studio’s Code Snippets feature. We will see how to create and use code snippets to speed up your development. Visual Studio is also very customizable, and we will conclude Chapter 2 with looking at the personalization features in Visual Studio 2022.

64

CHAPTER 2

Working with Visual Studio 2022

If you have worked with previous versions of Visual Studio, you may find that Visual Studio 2022 does not break the mold. Visual Studio 2022 feels much the same as previous versions, and that’s a good thing.

While there are new features and enhancements in Visual Studio 2022, developers find it easy to work with from the start. If you are new to Visual Studio, a few topics deserve a closer look. In this chapter, we are going to look at the following:

•\

Visual Studio project types and when to use them

•\

MAUI

•\

Managing NuGet packages

•\

Creating project templates

•\

Creating and using code snippets

•\

Using bookmarks and code shortcuts

•\

The Server Explorer window

•\

Visual Studio Windows

This chapter is an extension of Chapter 1 in many respects. Things that didn’t make it into Chapter 1 are discussed in this chapter. I do believe, however, that these are essential to working with Visual Studio and benefit developers in their day-to- day coding.

65

© Dirk Strauss 2023

D. Strauss, Getting Started with Visual Studio 2022, https://doi.org/10.1007/978-1-4842-8922-8_2