Название: Getting Started with Visual Studio 2022: Learning and Implementing New Features, Second Edition Автор: Dirk Strauss Издательство: Apress Год: 2023 Страниц: 325 Язык: английский Формат: True PDF, True EPUB (Retail Copy) Размер: 38.8 MB
Learn how to use the features of Visual Studio 2022 and utilize the IDE correctly to make it your one-stop solution for creating quality code. Learn what's new in VS 2022 and explore the existing features of Visual Studio so you can become a more efficient programmer.
This revised edition covers the latest features of Visual Studio 2022 and how to use them. The book includes new topics like Subword Navigation, Multi-caret Editing, how to enable Code Cleanup on Save, using breakpoints, and new debugging features such as temporary breakpoints and dependent breakpoints. The book also looks at some of the new Git features such as Multi-repo Support, Comparing Branches, Checkout Commit, and line Staging.
Getting Started with Visual Studio 2022 begins with an overview of Visual Studio and explores features such as Visual Studio Live Share, Visual Studio Search, Solution Filters, and Intellicode. The author also provides a look at the different Visual Studio project templates and shows you how to create code snippets, as well as how to manage NuGet and nmp packages. You will also see how to create a cross-platform MAUI application as well as how to use SQLite in an MAUI application. Moving ahead, you will learn how to debug your code using breakpoints to step into specific methods, use data tips, and utilize the Debugger Display attribute. You will then move on to learn unit testing and explore the tools provided by Visual Studio to create and run unit tests. The book also covers source control integration in Visual Studio and how to use GitHub to implement a source control strategy for your projects.
Being able to effectively work with different project types and knowing when to use them are explored in a bit more detail in Chapter 2. We will look at the new MAUI project template and how to create cross-platform applications. We then see how to create project templates and then explore using and creating code snippets. This chapter covers many of the basics essential to working with Visual Studio, including using bookmarks, code shortcuts, the Server Explorer, and other Visual Studio Windows.
In Chapter 3, we look at debugging techniques such as using breakpoints, setting conditional breakpoints, breakpoint actions, temporary breakpoints, dependent breakpoints, and labels. We see how to use data tips as well as the DebuggerDisplay attribute. We then take a closer look at Diagnostic Tools and the Immediate Window. Finally, to close off the debugging chapter, we see how to attach to a running process and how to use remote debugging. The next chapter introduces you to creating and running unit tests. You learn how to create live unit tests, use IntelliTest to generate unit tests, and measure code coverage in Visual Studio.
Finally, we look at working with Git and GitHub. We see how to create a GitHub account and what creating and cloning a repository involves. The new Git features in Visual Studio 2022, such as multi-repo branching, comparing branches, and line staging, are also discussed.
What You Will Learn Create and use code snippets in Visual Studio 2022 Use the new debugging features in Visual Studio Utilize diagnostic tools and the Immediate window for code debugging Generate unit tests with IntelliTest Harness the new Git features in Visual Studio to make managing source code easier Work with MAUI apps
Who This Book Is For Beginners and software developers working on the .NET stack.
Скачать Getting Started with Visual Studio 2022: Learning and Implementing New Features, Second Edition
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.