كتاب Mastering Visual Studio 2019
توضیحات کتاب
ویژوال استودیو 2019 جدیدترین IDE از مایکروسافت برای توسعه دهندگان است که ویندوز و سیستم عامل های دیگر را برای ایجاد برنامه های رومیزی ، وب و موبایل خیره کننده هدف قرار می دهند. در این کتاب یاد می گیرید که چگونه با استفاده از این برنامه های کاربردی به طور موثر از این IDE برای ساخت ، اشکال زدایی و آزمایش برنامه های خود برای ارتقاء بهره وری با ساده کردن کارهای متداول خود استفاده کنید و فرصت بیشتری برای تمرکز روی سایر جنبه های پروژه خود بدهید.
با شروع بررسی اجمالی جدید در ویژوال استودیو 2019 ، می فهمید که از نسخه قبلی آن چه چیزی بهبود یافته است. این کتاب ویژوال استودیو به شما کمک می کند تا با استفاده از بنیاد ارائه ویندوز (WPF) ، برنامه هایی را برای ویندوز بسازید ، که یک مدل برنامه نویسی یکپارچه برای توسعه برنامه های دسک تاپ پویا ، غنی و داده محور فراهم می کند. سپس در مورد اجرای مایکروسافت رایانش ابری با Azure ، و پس از آن برنامه های ساختمانی با استفاده از .NET Core و TypeScript اطلاعات کسب خواهید کرد. این کتاب همچنین به شما در کشف NuGet ، مدیر بسته برای پلتفرم توسعه مایکروسافت ، کمک می کند تا با مدیریت لیست مرجع بسته ها ، بتوانید بسته های یک مخزن مرکزی را ایجاد ، منتشر و مصرف کنید. در آخر ، تکنیک های اشکال زدایی و آزمایش واحد زنده را که در IDE ساخته شده اند ، جستجو خواهید کرد.
در پایان کتاب ، شما به یک کاربر کارآمد Visual Studio 2019 تبدیل شده اید ، و قادر خواهید بود از آن برای توسعه ، آزمایش ، اشکال زدایی و استقرار برنامه های خود استفاده کنید.
آنچه شما یاد خواهید گرفت
با ویژگی های جدید Visual Studio 2019 بهره وری خود را افزایش دهید
درک کنید که جادوگر نصب چگونه کار می کند و یک بسته نصب آفلاین ایجاد می کند
برنامه های خیره کننده ای را با استفاده از WPF ، .NET Core و TypeScript بسازید
بسته های NuGet را به عمق کاوش کنید
توسعه ابر را با آژور تسریع کنید
اشکال زدایی کنید و برنامه های خود را به طور موثر آزمایش کنید
با ادغام ویژوال استودیو با مخازن Git آشنا شوید
این کتاب برای چه کسی است
اگر یک توسعه دهنده .NET مایکروسافت هستید که می خواهید ویژگی های جدید ویژوال استودیو 2019 را یاد بگیرید ، یا می خواهید به محاسبات ابری بپردازید ، .NET Core ، TypeScript به همراه تسلط بر مهارت های ساخت ، اشکال زدایی و آزمایش برنامه های حرفه ای واحد ، این کتاب را مفید خواهید یافت دانش اساسی Visual Studio ، .NET و C # فرض شده است.
درباره نویسنده (2019)
Kunal Chowdhury نویسنده ، وبلاگ نویس پرشور و مهندسی نرم افزار است که به طور حرفه ای است. او از سال 2010 تا 2018 مایکروسافت MVP بود. با گذشت سالها ، وی دانش عمیقی در مورد محصولات و خدمات مختلف مایکروسافت به دست آورد و به توسعه دهندگان و مصرف کنندگان در سراسر جهان کمک کرده است. به عنوان یک فن آوری پیشرفته ، Kunal دانش عمیقی از C # ، XAML ، دات نت ، WPF ، ویژوال استودیو ، ویندوز 10 و آژور دارد. وی مقالات زیادی را در وبلاگ فنی خود برای توسعه دهندگان و مصرف کنندگان نوشت. می توانید با وی در توییتر (kunal2383) تماس بگیرید و یکی از طرفداران او شوید. وی همچنین کتابهای Mastering Visual Studio 2017 و Cookbook Development Development Windows Presentation Foundation را تألیف کرده است که هر دو از انتشارات Packt در دسترس هستند.
Table of Contents
Preface I
Section 1: What's New in Visual Studio 2019?
Chapter 1 : What’s New in the Visual Studio 2019 IDE? 9
Technical requirements 10
The Visual Studio 2019 installation experience 10
Overview of the installation experience 12
Installing using the online installer 13
Creating an offline installer for Visual Studio 2019 19
Installing Visual Studio 2019 from the command line 20
Modifying your existing Visual Studio 2019 installation 23
Uninstalling Visual Studio 2019 25
Overview of the new Start window 26
Cloning a repository from the Start window 27
Opening an existing project or solution from the Start window 30
Opening a local folder from the Start window 31
Creating a new project from the Start window 32
Improved search in Visual Studio 2019 34
Quick actions improvements for code refactoring 37
Inverting if statements 37
Wrapping arguments 38
Unwrapping arguments 38
Introducing inline variables 39
Pulling a member to its base type 40
Adjusting namespaces to match the folder structure 41
Converting foreach loops into generalized UNO queries 42
Visual Studio IntelliCode 43
Installing the IntelliCode component 44
Understanding how IntelliCode helps 44
One-click code cleanup 45
Clipboard History 47
Searching in debugging windows 48
Time Travel Debugging 49
Live Share 51
Creating a new live sharing session 52
Joining an existing live sharing session 54
Managing a live sharing session 57
Product Updates 58
Summary 60
Section 2: Building and Managing Applications
Chapter 2: Building Desktop Applications for Windows Using WPF 62 Technical requirements 63
Understanding the WPF architecture 63
An overview of XAML 65
The object element syntax 65
The property attribute syntax 66
The property element syntax 66
The content syntax 66
The collection syntax 67
The event attribute syntax 68
Building your first WPF application 68
Getting started with the WPF project 70
Understanding the WPF project structure 73
Getting familiar with XAML Designer 75
Adding controls in XAML 76
Exploring layouts in WPF 79
Using Grid as a WPF panel 81
Using StackPanel to define the stacked layout 83
Using Canvas as a panel 84
Using WPF DockPanel to dock child elements 85
Using WrapPanel to automatically reposition elements 86
Using UniformGrid to place elements in uniform cells 87
The WPF property system 89
Data binding in WPF 90
Using converters while data binding 96
Using triggers in WPF 99
The property trigger 99
The MultiTrigger property 100
The data trigger 101
The multi data trigger 102
The event trigger 104
Summary 106
Chapter 3: Accelerate Cloud Development with Microsoft Azure 107
Understanding cloud computing basics 108
laaS 109
PaaS 110
SaaS 110
Creating your free Azure account 110
Configuring Visual Studio 2019 for Azure development 112
Creating an Azure website from the portal 114
Creating a web application 115
Creating an App Service plan ns
Managing Azure websites (web apps) from the portal 119
Creating an Azure website with Visual Studio 2019 123
Creating an ASP NET web application 123
Publishing the web application to the cloud 125
Updating an existing Azure website with Visual Studio 131
Building a mobile app 133
Creating an Azure mobile app 134
Preparing your Azure mobile app for data connectivity 136
Adding a SQL data connection 137
Creating a SQL database 138
Integrating the mobile app service in a Windows application 143
Creating the model and service client 143
Integrating the API call 144
Scaling an App Service plan 150
Summary 153
Chapter 4: Building Applications with .NET Core 154
Technical requirements 155
Overview of .NET Core 155
Installing .NET Core with Visual Studio 2019 157
A quick lap around .NET Core commands 159
Creating a NET Core console app 16O
Creating a NET Core class library 162
Creating a solution file and adding projects to it 162
Resolving dependencies in NET Core applications 165
Building a NET Core project or solution 166
Running a NET Core application 168
Publishing a NET Core application 169
FDD 170
SCD 171
Creating an ASP NET Core application 173
Creating a unit testing project 174
Creating .NET Core applications using Visual Studio 2019 175
Publishing .NET Core applications using Visual Studio 2019 177
FDD 178
SCD 180
Creating, building, and publishing a .NET Core web app to Microsoft Azure 186
Summary 195
Chapter 5: Web Application Development Using TypeScript 196
Technical requirements 197
Setting up the development environment by installing TypeScript 197
Installing through NPM 197
Installing through Visual Studio 2019’s installer 199
Building your first Hello TypeScript application 200
Understanding the TypeScript configuration file 204
Declaring variables in TypeScript 205
Declaring variables using the var keyword 206
Problems with using the var keyword 206
Declaring variables using the let keyword 207
Declaring constants using the const keyword 208
Working with the basic datatypes 208
Using the number type 209
Using the string type 209
Using the bool type 210
Using the enum type 210
Using the void type 211
Using the undefined type 211
Using the null type 212
Using the any type to declare a variable 212
Using the never type 212
Using the array type 213
Using the tuple type 214
Working with classes and interfaces 214
Defining classes in TypeScript 214
Initiating an instance of a class 216
Defining abstract classes in TypeScript 216
Working with inheritance in TypeScript 217
Defining interfaces in TypeScript 218
Classes implementing interfaces 218
An interface extending another interface 219
Interfaces extending multiple interfaces 220
Interfaces extending classes 220
Summary 221
Chapter 6: Managing NuGet Packages 222
Technical requirements 223
Overview of NuGet Package Manager 223
Creating a NuGet package library for .NET Framework 227
Creating the metadata in the nuspec file 229
Building the NuGet package 232
Building NuGet packages for multiple NET Frameworks 234
Building a NuGet package with dependencies 236
Publishing a NuGet package to the NuGet store 237
Managing your NuGet packages 240
Summary 242
Section 3: Debugging and Testing Applications
Chapter 7: Debugging Applications with Visual Studio 2019 244
Technical requirements 245
Overview of Visual Studio debugger tools 245
Debugging C# source code using breakpoints 246
Organizing breakpoints in code 247
Debugger execution steps 250
Adding conditions to breakpoints 253
Using conditional expressions 254
Using breakpoint hit counters 255
Using breakpoint filters 255
Adding actions to breakpoints 256
Adding labels to breakpoints 258
Managing breakpoints using the Breakpoints window 259
Exporting/importing breakpoints 260
Using DataTips while debugging 260
Pinning/unpinning DataTips for better debugging 261
Inspecting DataTips in various Watch windows 263
The Autos window 263
The Locals window 264
The Watch window 264
Using visualizers to display complex DataTips 268
Importing/exporting DataTips 269
Using the debugger to display debugging information 270
Using the Immediate Window while debugging your code 272
Using the Visual Studio Diagnostics Tools 273
Summary 278
Chapter 8: Live Unit Testing with Visual Studio 2019 279
Technical requirements 279
Overview of Live Unit Testing in Visual Studio 2019 280
Unit testing framework support 281
Understanding the coverage information shown in the editor 281
Integration of Live Unit Testing in Test Explorer 282
Configuring Visual Studio 2019 for Live Unit Testing 283
Installing the Live Unit Testing component 283
General settings of Live Unit Testing in Visual Studio 284
Starting and pausing Live Unit Testing 286
Including and excluding test methods/projects 287
Live Unit Testing with Visual Studio 2019 289
Getting started with configuring the testing project 289
Understanding the packages config file 292
Live Unit Testing with an example 293
Navigating failed tests 297
Summary 298
Section 4: Source Control
Chapter 9: Exploring Source Controls in Visual Studio 2019 300
Technical requirements 301
Installing Git for Visual Studio 2019 301
Connecting to the source control servers 302
Getting started with Git repositories 303
Creating a new repository 304
Cloning an existing repository 305
Working with Git branches 307
Creating a new local branch 307
Switching to a different branch 309
Pushing a local branch to the remote repository 310
Deleting an existing branch 311
Working with changes, staging, and commits 312
Staging changes to your local repository 313
Committing changes to your local repository 314
Discarding uncommitted changes 315
Amending messages to an existing commit 317
Syncing changes between local and remote repositories 317
Pushing changes to the remote repository 318
Fetching changes in the remote repository 319
Merging changes in the remote repository with your local repository 320
Resolving merge conflicts 321
Working with pull requests for a code review 324
Creating pull requests for a code review 325
Reviewing an existing pull request 326
Working with the Git commit history 330
Rebasing changes to rewrite the commit history 330
Copying commits using cherry-pick 333
Undoing your changes 334
Resetting a local branch to a previous state 335
Reverting changes from a remote branch 337
Tagging your commits 338
Summary 341
Other Books You May Enjoy
Index 343
كتاب Mastering Visual Studio 2019
مشخصات كلي | |
---|---|
موضوع: | با استفاده از تکنیک های پیشرفته برنامه نویسی در ویژوال استودیو ، ویرایش 2 در چهارچوب .NET Framework و .NET Core مهارت کسب کنید. |
سطح كتاب : | پيشرفته |
نوع كتاب : | الكترونيكي |
زبان كتاب : | انگليسي |
خريد دانلودي | |
نوع خريد : | دانلود محصول بلافاصله پس از پرداخت آنلاين |
تخفيف : | 30% |
محتويات بسته : | فايل كتاب + فايل تمرينات كتاب |
حجم فايل: | 23.4 مگا بايت |
فرمت فايل : | |
نحوه دريافت لينك دانلود : | لينك دانلود در پنل كاربر در فروشگاه و ارسال لينك دانلود به ايميل كاربر |
تعداد دفعات دانلود : | تعداد دفعات دانلود 3 مرتبه مي باشد. |
مدت زمان اعتبارلينك دانلود : | مدت زمان اعتبار لينك هاي دانلود 72 ساعت از زمان اولين دانلود مي باشد. |
نحوه پرداخت : | پرداخت آنلاين از طريق كارتهاي عضو شتاب |
قيمت: | 7,000 تومان |
مشخصات كتاب | |
مولف: | Kunal Chowdhury |
ناشر: | Packt Publishing Ltd, 2019 |
تعداد صفحات: | 374 |
شابك (ISBN): | 978-1-78953-009-4 |
تاريخ و نوبت چاپ: | Second edition: August 2019 |
برند: |
![]() |
کد محصول: | 202 |