Muutke küpsiste eelistusi

Getting Started with Visual Studio 2022: Learning and Implementing New Features Second Edition [Pehme köide]

  • Formaat: Paperback / softback, 313 pages, kõrgus x laius: 254x178 mm, kaal: 633 g, 319 Illustrations, black and white; XVIII, 313 p. 319 illus., 1 Paperback / softback
  • Ilmumisaeg: 07-Dec-2022
  • Kirjastus: APress
  • ISBN-10: 1484289218
  • ISBN-13: 9781484289211
  • Pehme köide
  • Hind: 53,33 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Tavahind: 62,74 €
  • Säästad 15%
  • Raamatu kohalejõudmiseks kirjastusest kulub orienteeruvalt 2-4 nädalat
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Tellimisaeg 2-4 nädalat
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 313 pages, kõrgus x laius: 254x178 mm, kaal: 633 g, 319 Illustrations, black and white; XVIII, 313 p. 319 illus., 1 Paperback / softback
  • Ilmumisaeg: 07-Dec-2022
  • Kirjastus: APress
  • ISBN-10: 1484289218
  • ISBN-13: 9781484289211
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 thedifferent 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 featuresin 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.
About the Author xi
About the Technical Reviewer xiii
Acknowledgments xv
Introduction xvii
Chapter 1 Getting to Know Visual Studio 2022
1(64)
Installing Visual Studio
3(6)
Visual Studio 2022 System Requirements
4(2)
Visual Studio Is 64-Bit
6(1)
Full NET 6.0 Support
6(1)
Using Workloads
6(3)
Exploring the IDE
9(17)
The Solution Explorer
9(11)
Toolbox
20(2)
The Code Editor
22(4)
New Razor Editor
26(1)
What's Available?
27(1)
Hot Reload
27(1)
Navigating Code
27(11)
Navigate Forward and Backward Commands
28(1)
Navigation Bar
29(1)
Find All References
30(1)
Find Files Faster
31(1)
Reference Highlighting
31(2)
Go To Commands
33(1)
Go To Definition
34(1)
Peek Definition
35(2)
Subword Navigation
37(1)
Features and Productivity Tips
38(9)
Track Active Item in Solution Explorer
38(1)
Hidden Editor Context Menu
39(1)
Open in File Explorer
40(1)
Finding Keyboard Shortcut Mappings
41(1)
Clipboard History
41(1)
Go To Window
42(1)
Navigate to Last Edit Location
42(1)
Multi-caret Editing
43(2)
Sync Namespaces to Match Your Folder Structure
45(1)
Paste JSON As Classes
46(1)
Enable Code Cleanup on Save
46(1)
Add Missing Using on Paste
47(1)
Features in Visual Studio 2022
47(17)
Visual Studio Search
47(1)
Solution Filters
48(6)
Visual Studio IntelliCode
54(4)
Whole Line Completions
58(1)
Visual Studio Live Share
58(6)
Summary
64(1)
Chapter 2 Working with Visual Studio 2022
65(100)
Visual Studio Project Types
66(10)
Various Project Templates
69(7)
Creating a MAUI Application
76(3)
Pairing to Mac for iOS Development
78(1)
Consuming REST Services in MAUI
79(18)
The Complete Weather App
80(2)
The Target Platforms
82(1)
The Required NuGet Package
83(1)
The Weather Models
83(1)
The WeatherService
84(3)
The MainViewModel
87(6)
Registering Dependencies
93(2)
Building the MainPage View
95(2)
Using SQLite in a MAUI Application
97(14)
TheToDoltem Model
98(1)
The ToDoService
99(2)
The MainViewModel
101(2)
Registering Dependencies
103(2)
Building the MainPage View
105(6)
Managing NuGet Packages
111(7)
Using NuGet in Visual Studio
111(7)
Hosting Your Own NuGet Feeds
118(1)
Managing nmp Packages
118(2)
Creating Project Templates
120(5)
Creating and Using Code Snippets
125(7)
Creating Code Snippets
127(5)
Using Bookmarks and Code Shortcuts
132(8)
Bookmarks
132(3)
Code Shortcuts
135(3)
Adding Custom Tokens
138(2)
The Server Explorer
140(10)
Running SQL Queries
147(3)
Visual Studio Windows
150(6)
C# Interactive
151(2)
Code Metrics Results
153(2)
Send Feedback
155(1)
Personalizing Visual Studio
156(6)
Adjust Line Spacing
156(1)
Document Management Customizations
157(5)
Visual Studio Themes
162(1)
Summary
162(3)
Chapter 3 Debugging Your Code
165(50)
Working with Breakpoints
165(16)
Setting a Breakpoint
166(6)
Conditional Breakpoints and Actions
172(4)
Temporary Breakpoints
176(1)
Dependent Breakpoints
177(1)
Dragging Breakpoints
177(1)
Manage Breakpoints with Labels
177(4)
Exporting Breakpoints
181(1)
Using DataTips
181(5)
Visualizing Complex Data Types
182(3)
Using the Watch Window
185(1)
The DebuggerDisplay Attribute
186(2)
Evaluate Functions Without Side Effects
188(4)
Format Specif iers
191(1)
Diagnostic Tools
192(10)
CPU Usage
195(4)
Memory Usage
199(1)
The Events View
200(1)
The Right Tool for the Right Project Type
201(1)
Immediate Window
202(3)
Attaching to a Running Process
205(2)
Attach to a Remote Process
206(1)
Reattaching to a Process
207(1)
Remote Debugging
207(7)
System Requirements
208(1)
Download and Install Remote Tools
209(1)
Running Remote Tools
210(1)
Start Remote Debugging
211(3)
Summary
214(1)
Chapter 4 Unit Testing
215(30)
Creating and Running Unit Tests
215(9)
Create and Run a Test Playlist
221(2)
Testing Timeouts
223(1)
Using Live Unit Tests
224(5)
Using IntelliTest to Generate Unit Tests
229(12)
Focus IntelliTest Code Exploration
239(2)
How to Measure Code Coverage in Visual Studio
241(3)
Summary
244(1)
Chapter 5 Source Control
245(62)
Create a Git Hub Account
246(2)
Create and Clone a Repository
248(20)
Cloning a Repository
262(6)
Create a Branch from Your Code
268(6)
Creating and Handling Pull Requests
274(16)
Working with Stashes
290(4)
Multi-repo Support
294(4)
Compare Branches
298(2)
Check Out Commit
300(3)
Line Staging
303(2)
Summary
305(2)
Index 307
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.