Getting Started with Visual Studio 2022: Learning and Implementing New Features

Strauss, Dirk

  • 出版商: Apress
  • 出版日期: 2022-12-07
  • 定價: $1,630
  • 售價: 9.5$1,549
  • 貴賓價: 9.0$1,467
  • 語言: 英文
  • 頁數: 313
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484289218
  • ISBN-13: 9781484289211
  • 相關分類: Visual Studio
  • 立即出貨 (庫存=1)

商品描述

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.

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.

商品描述(中文翻譯)

學習如何使用 Visual Studio 2022 的功能,並正確利用這個整合開發環境來創建高品質的程式碼。了解 VS 2022 的新功能,並探索 Visual Studio 的現有功能,以成為更高效的程式設計師。

這本修訂版涵蓋了 Visual Studio 2022 的最新功能以及如何使用它們。書中介紹了新的主題,如 Subword Navigation、Multi-caret Editing、如何在保存時啟用 Code Cleanup,使用斷點以及臨時斷點和相依斷點等新的調試功能。書中還介紹了一些新的 Git 功能,如多倉庫支援、分支比較、檢查提交和行暫存。

《入門 Visual Studio 2022》首先概述了 Visual Studio,並探索了功能,如 Visual Studio Live Share、Visual Studio Search、Solution Filters 和 Intellicode。作者還介紹了不同的 Visual Studio 專案範本,並展示了如何創建程式碼片段,以及如何管理 NuGet 和 npm 套件。您還將了解如何在跨平台的 MAUI 應用程式中使用 SQLite。接下來,您將學習如何使用斷點來調試程式碼,使用資料提示和 Debugger Display 屬性。然後,您將學習單元測試,並探索 Visual Studio 提供的工具來創建和執行單元測試。書中還介紹了 Visual Studio 中的源碼控制整合,以及如何使用 GitHub 為您的專案實施源碼控制策略。

本書的學習重點包括:
- 在 Visual Studio 2022 中創建和使用程式碼片段
- 使用 Visual Studio 的新調試功能
- 利用診斷工具和即時視窗進行程式碼調試
- 使用 IntelliTest 生成單元測試
- 利用 Visual Studio 的新 Git 功能更輕鬆地管理源碼
- 使用 MAUI 應用程式

本書適合初學者和在 .NET 平台上工作的軟體開發人員。

作者簡介

Dirk Strauss has over 17 years of experience programming with C# and Visual Studio. Working for various companies throughout his career, he has been privileged to work with and learn from some of the most brilliant developers in the industry. He has authored several books on topics ranging from Visual Studio and C# to ASP.NET Core. Passionate about writing code, he loves learning new tech and imparting what he learns to others.

作者簡介(中文翻譯)

Dirk Strauss在C#和Visual Studio編程方面擁有超過17年的經驗。在他的職業生涯中,他曾在不同的公司工作,有幸與業界最優秀的開發人員一起工作和學習。他撰寫了幾本關於Visual Studio和C#到ASP.NET Core等主題的書籍。對於編寫代碼充滿熱情,他喜歡學習新的技術並將所學傳授給他人。