This Apress imprint is published by the registered company APress Media, LLC, part of Springer Nature.
The registered company address is: 1 New York Plaza, New York, NY 10004, U.S.A.
To Adele, Tristan, and Irénéé. My everything for you, always!
Visual Studio 2022 is the next version of the stellar development tool we love to use. This book is for developers ready to get to know the IDE better. It aims to get you started on the road to exploring Visual Studio 2022, beyond what you are already comfortable with.
The book starts with installing Visual Studio and adding workloads. Then you explore the IDE a bit more before looking at the existing (and some new) features in Visual Studio 2022. After that, a few productivity tips are included for good measure.
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.
You learn how to commit changes in code to the repository and create a branch of your code when you need to work on a new feature in isolation. Then we look at creating a pull request and how these pull requests are managed. Lastly, we have a look at the benefit of working with stashes.
If you need an excellent reference book that deals exclusively with (and only with) Visual Studio, then look at what this book has to offer you. If you spend any time using Visual Studio or want to learn how working with Visual Studio 2022 can increase your productivity, then this book makes a perfect reference book for your office.
I would like to thank my wife and children for their support while writing this book. I would not have been able to do it without you by my side.
I would also like to thank the Apress team for supporting this book and for turning my vision into reality. It is a topic I have wanted to write about for a long time.
I also want to thank Sanjaya Prakash for his help during the review of this book.
Last but not least, I want to thank you for reading this book. Your passion for knowing more drives me to learn more and impart what I learn. It’s a symbiotic relationship that benefits us as we grow and become better at what we do.
3.147.46.58