Books+ Search Results

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

Title
Getting Started with Visual Studio 2022 : Learning and Implementing New Features / Dirk Strauss.
ISBN
9781484289228
1484289226
9781484289211
1484289218
Edition
Second edition.
Publication
Berkeley, CA : Apress L. P., 2023.
Physical Description
1 online resource (xviii, 313 pages) : illustrations
Local Notes
Access is available to the Yale community.
Notes
Description based upon print version of record.
Access and use
Access restricted by licensing agreement.
Summary
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.
Variant and related titles
O'Reilly Safari. OCLC KB.
Other formats
Print version: Strauss, Dirk Getting Started with Visual Studio 2022 Berkeley, CA : Apress L. P.,c2023
Format
Books / Online
Language
English
Added to Catalog
January 05, 2023
Contents
Intro
Table of Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: Getting to Know Visual Studio 2022
Installing Visual Studio
Visual Studio 2022 System Requirements
Operating Systems
Hardware
Supported Languages
Additional Notes
Visual Studio Is 64-Bit
Full .NET 6.0 Support
Using Workloads
Exploring the IDE
The Solution Explorer
Toolbox
The Code Editor
New Razor Editor
What's Available?
Hot Reload
Navigating Code
Navigate Forward and Backward Commands
Navigation Bar
Find All References
Find Files Faster
Reference Highlighting
Go To Commands
Go To Definition
Peek Definition
Subword Navigation
Features and Productivity Tips
Track Active Item in Solution Explorer
Hidden Editor Context Menu
Open in File Explorer
Finding Keyboard Shortcut Mappings
Clipboard History
Go To Window
Navigate to Last Edit Location
Multi-caret Editing
Sync Namespaces to Match Your Folder Structure
Paste JSON As Classes
Enable Code Cleanup on Save
Add Missing Using on Paste
Features in Visual Studio 2022
Visual Studio Search
Solution Filters
Visual Studio IntelliCode
Whole Line Completions
Visual Studio Live Share
Summary
Chapter 2: Working with Visual Studio 2022
Visual Studio Project Types
Various Project Templates
Console Applications
Windows Forms Application
Windows Service
Web Applications
Class Library
MAUI
Creating a MAUI Application
Pairing to Mac for iOS Development
Consuming REST Services in MAUI
The Complete Weather App
The Target Platforms
The Required NuGet Package
The Weather Models
The WeatherService
The MainViewModel
Registering Dependencies
Building the MainPage View
Using SQLite in a MAUI Application
The ToDoItem Model
The ToDoService
The MainViewModel
Registering Dependencies
Building the MainPage View
Managing NuGet Packages
Using NuGet in Visual Studio
Hosting Your Own NuGet Feeds
Managing nmp Packages
Creating Project Templates
Creating and Using Code Snippets
Creating Code Snippets
Using Bookmarks and Code Shortcuts
Bookmarks
Code Shortcuts
Adding Custom Tokens
The Server Explorer
Running SQL Queries
Visual Studio Windows
C# Interactive
Code Metrics Results
Maintainability Index
Cyclomatic Complexity
Depth of Inheritance
Class Coupling
Lines of Code
Send Feedback
Personalizing Visual Studio
Adjust Line Spacing
Document Management Customizations
The Document Close Button
Modify the Dirty Indicator
Show Invisible Tabs in Italics in the Tab Drop-Down
Colorize Document Tabs
Tab Placement
Visual Studio Themes
Summary
Chapter 3: Debugging Your Code
Working with Breakpoints
Setting a Breakpoint
Step into Specific
Run to Click
Run to Cursor
Force Run to Cursor
Conditional Breakpoints and Actions
Genre/Form
Electronic books.
Citation

Available from:

Online
Loading holdings.
Unable to load. Retry?
Loading holdings...
Unable to load. Retry?