To Adele, Tristan, and Irénéé.
My everything for you, always!
Visual Studio 2019 is the next version of the stellar development tool we love to use. This book is for folks ready to get to know the IDE a little bit better. It aims to get you started on the road to exploring Visual Studio 2019, beyond what you are already comfortable with.
The book starts off with installing Visual Studio and adding workloads. Then you explore the IDE a bit more before having a look at the existing (and some new) features in Visual Studio. After that, a few productivity tips are thrown in for good measure.
Being able to effectively work with different project types and knowing when to use which are explored in a bit more detail in Chapter 2 . We will also have a look at using NuGet packages and how to manage them. We then see how to make use of project templates and then explore using and creating code snippets. This chapter covers many of the basics that are essential to working with Visual Studio and include using bookmarks, code shortcuts, the Server Explorer, and other Visual Studio Windows.
In Chapter 3 , we will take a closer look at debugging techniques such as using breakpoints, setting conditional breakpoints, breakpoint actions, and labels. We will see how to effectively 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 will introduce you to creating and running unit tests. We will also see how to create live unit tests, how to use IntelliTest to generate unit tests, and how to 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. You will learn how to commit changes in code to the repository and how to create a branch of your code when you need to work on a new feature in isolation. Then we will look at creating a pull request and how these pull requests are handled. Lastly, we have a look at the benefit of working with stashes.
If you need a nice reference book that deals exclusively with (and only with) Visual Studio, then have a 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 2019 can increase your productivity, then this book will make a perfect reference book for your office.
First off, 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 on my side.
I would also like to thank the team at Apress for their support of this book and for turning my vision into reality. It is a topic that I have wanted to write about for a very long time.
I want to thank James McCaffrey for his help and dedication during the review of this book. Technically reviewing a book such as this is not easy, and his feedback and suggestions are always appreciated and highly valued.
Last, but not least, I want to thank you for reading this book. Your passion to know more is what drives me to learn more, and impart what I learn. It’s a symbiotic relationship that benefits us as we both grow and become better at what we do.
is a software developer from South Africa with over 13 years of programming experience. He has extensive experience in SYSPRO Customization, with C# and web development being his main focus. He studied at the Nelson Mandela University where he wrote software part-time to gain a better understanding of the technology. He remains passionate about writing code and imparting what he learns with others.
works for Microsoft Research in Redmond, Wash. James has a PhD in cognitive psychology and computational statistics from the University of Southern California, a BA in psychology, a BA in applied mathematics, and an MS in computer science. James worked on several key products including Azure and Bing. James is also the Senior Technical Editor for MicrosoftMSDN Magazine , the most widely read technical journal in the world.
3.139.238.76