طراحی پورتال های سازمانی شرکت پروجان

شیرپوینت و پراجکت سرور پروجان

استقرار شیرپوینت و پراجکت سرور

مسیر سایت

کتاب Professional Visual Studio 2017.pdf

Professional Visual Studio 2017.pdf

دانلود رایگان کتاب Professional Visual Studio 2017.pdf  

Bruce Johnson

Copyright © 2018 by John Wiley & Sons, Inc., Indianapolis, Indiana

لینک دانلود کتاب Professional Visual Studio 2017.pdf 

 

 

Table of Contents

 

INTRODUCTION  xxxi
▸▸ PART I INTEGRATED DEVELOPMENT ENVIRONMENT
CHAPTER 1 A Quick Tour. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
CHAPTER 2 The Solution Explorer, Toolbox, and Properties. . . . . . . . . . . . . . . . .21
CHAPTER 3 Options and Customizations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
CHAPTER 4 The Visual Studio Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
CHAPTER 5 Find and Replace and Help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101
▸▸ PART II GETTING STARTED
CHAPTER 6 Solutions, Projects, and Items. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
CHAPTER 7 IntelliSense and Bookmarks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .155
CHAPTER 8 Code Snippets and Refactoring . . . . . . . . . . . . . . . . . . . . . . . . . . . .179
CHAPTER 9 Server Explorer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
▸▸ PART III DIGGING DEEPER
CHAPTER 10 Unit Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .219
CHAPTER 11 Project and Item Templates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .247
CHAPTER 12 Managing Your Source Code. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .265
▸▸ PART IV DESKTOP APPLICATIONS
CHAPTER 13 Windows Forms Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .275
CHAPTER 14 Windows Presentation Foundation (WPF) . . . . . . . . . . . . . . . . . . . .293
CHAPTER 15 Universal Windows Platform Apps. . . . . . . . . . . . . . . . . . . . . . . . . .327
▸▸ PART V WEB APPLICATIONS
CHAPTER 16 ASP.NET Web Forms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .345
CHAPTER 17 ASP.NET MVC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .379
CHAPTER 18 .NET Core. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .415
CHAPTER 19 Node.js Development. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .433
CHAPTER 20 Python Development. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .449

PART VI MOBILE APPLICATIONS
CHAPTER 21 Mobile Applications Using .NET. . . . . . . . . . . . . . . . . . . . . . . . . . . .461
CHAPTER 22 Mobile Applications Using JavaScript. . . . . . . . . . . . . . . . . . . . . . . .485
▸▸ PART VII CLOUD SERVICES
CHAPTER 23 Windows Azure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .501
CHAPTER 24 Synchronization Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519
CHAPTER 25 SharePoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .531
▸▸ PART VIII DATA
CHAPTER 26 Visual Database Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .551
CHAPTER 27 The ADO.NET Entity Framework . . . . . . . . . . . . . . . . . . . . . . . . . . .571
CHAPTER 28 Data Warehouses and Lakes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .597
CHAPTER 29 Data Science and Analytics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611
▸▸ PART IX DEBUGGING
CHAPTER 30 Using the Debugging Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . .625
CHAPTER 31 Debugging with Breakpoints. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .645
▸▸ PART X BUILD AND DEPLOYMENT
CHAPTER 32 Upgrading with Visual Studio 2017. . . . . . . . . . . . . . . . . . . . . . . . . .661
CHAPTER 33 Build Customization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .669
CHAPTER 34 Obfuscation, Application Monitoring, and Management . . . . . . . .689
CHAPTER 35 Packaging and Deployment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 707
CHAPTER 36 Web Application Deployment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .725
CHAPTER 37 Continuous Delivery. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 741
▸▸ PART XI VISUAL STUDIO EDITIONS
CHAPTER 38 Visual Studio Enterprise: Code Quality. . . . . . . . . . . . . . . . . . . . . . .753
CHAPTER 39 Visual Studio Enterprise: Testing and Debugging. . . . . . . . . . . . . . 761
CHAPTER 40 Visual Studio Team Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .777
INDEX. 791

 

CONTENTS
INTRODUCTION xxxi
Part I: INTEGRA TED DEVELOPMENT ENVIRONMENT

Chapter 1: A QUICK TOUR 3

Getting Started 3
Installing Visual Studio 2017 3
Running Visual Studio 2017 9
Is Visual Studio Really Cloud Enabled? 9
The Visual Studio IDE 11
Developing, Building, Debugging, and Deploying Your First Application 13
Summary 18

Chapter 2: THE SOLUTION EXPLORER, TOOLBOX, AND PROPERTIES 21

The Solution Explorer 22
Previewing Files 25
Common Tasks 26
The Toolbox 38
Arranging Components 40
Adding Components 42
Properties 43
Extending the Properties Window 45
Summary 49

Chapter 3: OPTIONS AND CUSTOMIZATIONS 51

The Start Page 52
Customizing the Start Page 53
Window Layout 53
Viewing Windows and Toolbars 53
Docking 54
Saving the Window Layout 57
The Editor Space 59
Navigating Open Items 59
Fonts and Colors 62

Visual Guides 63
Full-Screen Mode 64
Tracking Changes 65
Other Options 65
Keyboard Shortcuts 66
Quick Launch 68
Projects and Solutions 69
Build and Run 70
VB Options 71
Importing and Exporting Settings 72
Synchronized Settings 74
Summary 75

Chapter 4: THE VISUAL STUDIO WORKSPACE 77

The Code Editor 77
The Code Editor Window Layout 77
Regions 79
Outlining 79
Code Formatting 80
Navigating Forward/Backward 81
Additional Code Editor Features 82
Split View 83
Tear Away (Floating) Code Windows 84
Duplicating Solution Explorer 86
Creating Tab Groups 86
Advanced Functionality 88
Code Navigation 90
Peek Definition 90
Enhanced Scrollbar 91
Structure Visualizer 94
Navigate To 95
The Command Window 96
The Immediate Window 97
The Class View 98
The Error List 99
The Object Browser 99
Summary 100

Chapter 5: FIND AND REPLACE AND HELP 101

Quick Find/Replace 102
Quick Find 102
Quick Replace 103

Find Options 104
Find and Replace Options 104
Find/Replace in Files 104
Find in Files 105
Find Dialog Options 106
Regular Expressions 106
Results Window 108
Replace in Files 109
Accessing Help 110
Navigating and Searching the Help System 112
Configuring the Help System 112
Summary 113

Part II: GETTING STARTED

Chapter 6: SOLUTIONS, PROJECTS, AND ITEMS 117

Solution Structure 118
Solution File Format 119
Solution Properties 120
Common Properties 120
Configuration Properties 122
Project Types 124
Project Files Format 126
Project Properties 127
Application 128
Compile (Visual Basic Only) 131
Build (C# and F# Only) 133
Build Events (C# and F# Only) 134
Debug 135
References (Visual Basic Only) 136
Resources 137
Services 138
Settings 139
Reference Paths (C# and F# Only) 140
Signing 141
My Extensions (Visual Basic Only) 141
Security 142
Publish 143
Code Analysis 143
C/C++ Code Analysis Tool 146
Web Application Project Properties 146

Web 146
Package/Publish Web 147
Package/Publish SQL 148
Web Site Projects 149
NuGet Packages 150
NuGet Package Manager 150
Package Manager Console 151
Summary 152

Chapter 7: INTELLISENSE AND BOOKMARKS 155

IntelliSense Explained 156
General IntelliSense 156
IntelliSense and C++ 158
Completing Words and Phrases 158
Parameter Information 165
Quick Info 166
JavaScript IntelliSense 166
The JavaScript IntelliSense Context 167
Referencing Another JavaScript File 168
XAML IntelliSense 169
IntelliSense Options 170
General Options 170
Statement Completion 172
C#-Specific Options 172
Extended IntelliSense 173
Code Snippets 173
XML Comments 174
Adding Your Own IntelliSense 174
Bookmarks and the Bookmark Window 175
Summary 177

Chapter 8: CODE SNIPPETS AND REFACTORING 179

Code Snippets Revealed 180
Storing Code Blocks in the Toolbox 180
Code Snippets 180
Using Snippets in C# 181
Using Snippets in VB 183
Surround With Snippet 184
Code Snippets Manager 184
Creating Snippets 186

Reviewing Existing Snippets 186
Distributing Code Snippets 191
Accessing Refactoring Support 192
Refactoring Actions 192
Extract Method 192
Encapsulate Field 193
Extract Interface 194
Change Signature 195
Inline and Explaining Variables 196
Rename 197
Simplify Object Initialization 198
Inline Variable Declarations 199
Use “throw” Expression 199
Generate Method Stub 200
Remove and Sort Usings 201
Summary 201

Chapter 9: SERVER EXPLORER 203

Server Connections 204
Event Logs 205
Message Queues 207
Performance Counters 210
Services 213
Data Connections 215
SharePoint Connections 215
Summary 215

Part III: DIGGING DEEPER

Chapter 10: UNIT TESTING 219

Your First Test Case 220
Identifying Tests Using Attributes 225
Additional Test Attributes 226
Unit Tests and Code Lens 228
Asserting the Facts 229
The Assert Class 229
The StringAssert Class 230
The CollectionAssert Class 230
The ExpectedException Attribute 231
Initializing and Cleaning Up 232

TestInitialize and TestCleanup 233
ClassInitialize and ClassCleanup 233
AssemblyInitialize and AssemblyCleanup 233
Testing Context 233
Data 234
Writing Test Output 237
Live Unit Testing 238
Advanced Unit Testing 239
Custom Properties 239
Testing Private Members 240
IntelliTest 242
Summary 244

Chapter 11: PROJECT AND ITEM TEMPLATES 247

Creating Templates 247
Item Template 248
Project Template 252
Template Structure 253
Template Parameters 254
Template Locations 255
Extending Templates 255
Template Project Setup 256
IWizard 256
Generating the Extended Project Template 261
Starter Kits 262
Online Templates 263
Summary 264

Chapter 12: MANAGING YOUR SOURCE CODE 265

Source Control 266
Selecting a Source Control Repository 266
Accessing Source Control 267
Summary 272

Part IV: DESKTOP APPLICATIONS

Chapter 13: WINDOWS FORMS APPLICATIONS 275

Getting Started 275
The Windows Form 276
Appearance Properties 278

Layout Properties 278
Window Style Properties 278
Form Design Preferences 278
Adding and Positioning Controls 281
Vertically Aligning Text Controls 282
Automatic Positioning of Multiple Controls 282
Tab Order and Layering Controls 284
Locking Control Design 284
Setting Control Properties 285
Service-Based Components 286
Smart Tag Tasks 286
Container Controls 287
Panel and SplitContainer 287
FlowLayoutPanel 288
TableLayoutPanel 289
Docking and Anchoring Controls 290
Summary 291

Chapter 14: WINDOWS PRESENTATION FOUNDATION (WPF) 293

What Is WPF? 294
Getting Started with WPF 295
XAML Fundamentals 297
The WPF Controls 298
The WPF Layout Controls 299
The WPF Designer and XAML Editor 302
Working with the XAML Editor 303
Working with the WPF Designer 304
The Properties Tool Window 308
Data Binding Features 312
Styling Your Application 317
Windows Forms Interoperability 319
Hosting a WPF Control in Windows Forms 320
Hosting a Windows Forms Control in WPF 322
Debugging with the WPF Visualizer 324
Summary 326

Chapter 15: UNIVERSAL WINDOWS PLATFORM APPS 327

What Is a Windows App? 328
Content before Chrome 329
Snap and Scale 329

Semantic Zoom 330
Tiles 330
Embracing the Cloud 330
Creating a Windows App 331
The Windows Simulator 334
Windows Runtime Components 338
.NET Native Compilation 339
Compiling Using .NET Native Tools 340
Summary 341

Part V: WEB APPLICATIONS

Chapter 16: ASP.NET WEB FORMS 345

Web Application Versus Web Site Projects 346
Creating Web Projects 347
Creating a Web Site Project 347
Creating a Web Application Project 351
Designing Web Forms 354
The HTML Designer 354
Positioning Controls and HTML Elements 357
Formatting Controls and HTML Elements 359
CSS Tools 360
Validation Tools 364
Web Controls 366
Navigation Components 366
User Authentication 367
Data Components 368
Master Pages 372
Rich Client-Side Development 374
Developing with JavaScript 374
Working with ASP.NET AJAX 375
Summary 378

Chapter 17: ASP.NET MVC 379

Model View Controller 380
Getting Started with ASP.NET MVC 381
Choosing a Model 384
Controllers and Action Methods 385
MVC Scaffolding 385
Rendering a UI with Views 388

Advanced MVC 395
Routing 395
Action Method Parameters 400
Areas 403
Validation 406
Partial Views 408
Dynamic Data Templates 409
jQuery 412
Summary 413
Chapte r 18: .NET CORE 415
What Is .NET Core? 416
Working with ASP.NET Core 418
project.json versus csproj 418
Creating an ASP.NET Core Application 419
NuGet Package Manager 424
Bower Package Manager 428
Summary 431

Chapter 19: NODE.JS DEVELOPMENT 433

Getting Started with Node.js 433
Node Package Manager 440
Task Runner Explorer 444
Summary 447

Chapter 20: PYTHON DEVELOPMENT 449

Getting Started with Python 450
Cookiecutter Extension 455
Summary 457

Part VI: MOBILE APPLICATIONS

Chapter 21: MOBILE APPLICATIONS USING .NET 461

Using Xamarin 462
Creating a Xamarin Forms Project 463
Debugging Your Application 466
Universal Windows Platform 466
Android 466
iOS 480
Summary 484

Chapter 22: MOBILE APPLICATIONS USING JAVASCRIPT 485

What Is Apache Cordova? 486
Creating an Apache Cordova Project 487
Merges Folder 488
Plugins Folder 489
www Folder 489
Additional Files and Folders 489
Debugging in Apache Cordova 495
Summary 498

Part VII: CLOUD SERVICES

Chapter 23: WINDOWS AZURE 501

The Windows Azure Platform 502
The Compute Emulator 504
Communicating between Roles 505
Application Deployment 508
SQL Azure 511
Service Fabric 513
Azure Mobile App 515
Azure Virtual Machines 516
Connectivity 516
Endpoints 516
Virtual Network 517
Summary 518

Chapter 24: SYNCHRONIZATION SERVICES 519

Occasionally Connected Applications 520
Server Direct 520
Getting Started with Synchronization Services 524
Synchronization Services over N-Tiers 528
Summary 529

Chapter 25: SHAR EPOINT 531

SharePoint Execution Models 532
Farm Solution 532
Sandbox Solution 532
App Model 533
Preparing the Development Environment 533

Creating a SharePoint Project 536
Running Your Application 545
Summary 547

Part VIII: DATA

Chapter 26: VISUAL DATABASE TOOLS 551

Database Windows in Visual Studio 2017 552
Server Explorer 552
The Data Sources Window 557
SQL Server Object Explorer 558
Editing Data 559
Redgate Data Tools 560
ReadyRoll Core 560
SQL Prompt Core 565
SQL Search 567
Summary 569

Chapter 27: THE ADO.NET ENTITY FRA MEWORK 571

What Is the Entity Framework? 572
Getting Started 573
Creating an Entity Model 573
The Entity Data Model Wizard 573
The Entity Framework Designer 577
Creating/Modifying Entities 582
Creating/Modifying Entity Associations 585
Entity Inheritance 587
Validating an Entity Model 587
Updating an Entity Model with Database Changes 587
Querying the Entity Model 588
LINQ to Entities Overview 588
Getting an Object Context 589
CRUD Operations 589
Navigating Entity Associations 593
Advanced Functionality 595
Updating a Database from an Entity Model 595
Adding Business Logic to Entities 595
Plain Old CLR Objects (POCO) 596
Entity Framework Core 596
Summary 596

Chapter 28: DATA WAR EHOUSES AND LAKES 597

What Is Apache Hadoop? 597
Hadoop Distributed File System 598
MapReduce 598
Additional Components 599
HDInsight 599
Azure Data Lakes 600
Data Lake Tools for Visual Studio 600
Creating a Hive Application 602
Creating a Pig Application 606
Summary 610

Chapter 29: DATA SCIENCE AND ANALYTICS 611

What Is R? 612
R Tools for Visual Studio 612
Debugging an R Script 616
Workspaces 619
Plotting Windows 620
Summary 622

Part IX: DEBUGGING

Chapter 30: USING THE DEBUGGING WINDOWS 625

The Code Window 625
Breakpoints 626
DataTips 626
The Breakpoints Window 626
The Output Window 627
The Immediate Window 628
The Watch Windows 630
QuickWatch 630
Watch Windows 1–4 631
Autos and Locals 632
The Code Execution Windows 632
Call Stack 632
Threads 633
Modules 633
Processes 634
The Memory Windows 634

Memory Windows 1–4 635
Disassembly 635
Registers 636
The Parallel Debugging Windows 637
Parallel Stacks 637
Parallel Tasks 639
Exceptions 640
Summary 643

Chapter 31: DEBUGGING WITH BREAKPOINTS 645

Breakpoints 645
Setting a Breakpoint 646
Adding Break Conditions 648
Working with Breakpoints 650
Tracepoints 652
Execution Control 654
Stepping through Code 654
Run to Cursor 656
Moving the Execution Point 656
Edit and Continue 656
Rude Edits 657
Stop Applying Changes 657
Summary 657

Part X: BUILD AND DEPLOYMENT

Chapter 32: UPGRA DING WITH VISUAL STUDIO 2017 661

Upgrading from Recent Visual Studio Versions 662
Upgrading to .NET Framework 4.6.2 665
Summary 666

Chapter 33: BUILD CUSTOMIZATION 669

General Build Options 669
Manual Dependencies 672
The Visual Basic Compile Page 673
Advanced Compiler Settings 674
Build Events 676
C# Build Pages 679
MSBuild 681

How Visual Studio Uses MSBuild 681
The MSBuild Schema 684
Assembly Versioning via MSBuild Tasks 685
Summary 687

Chapter 34: OBFUSCATION, APPLICATION MONITORING, AND MANAGEMENT 689

The IL Disassembler 690
Decompilers 691
Obfuscating Your Code 693
Dotfuscator and Analytics 693
Obfuscation Attributes 698
Words of Caution 700
Application Monitoring and Management 702
Tamper Defense 703
Application Instrumentation and Analytics 704
Summary 706

Chapter 35: PACKAGING AND DEPLOYMENT 707

Windows Installer XML Toolset 708
Building an Installer 709
Using Heat to Create Fragments 712
The Service Installer 716
ClickOnce 716
One Click to Deploy 717
One Click to Update 721
Summary 723

Chapter 36: WEB APPLICATION DEPLOYMENT 725

Web Deployment 726
Publishing a Web Application 726
Publishing to Azure 729
Web Project Installers 733
The Web Platform Installer 735
Extending the Web Platform Installer 736
Summary 739

Chapter 37: CONTINUOUS DELIVERY 741

Nomenclature 742
Continuous Delivery 742

Continuous Integration 742
DevOps 743
Continuous Delivery Tools 743
Setting Up Continuous Delivery 744
Heads Up Code Analysis 746
Automatic Build Notifications 747
Summary 750

Part XI: VISUAL STUDIO EDITIONS

Chapter 38: VISUAL STUDIO ENTERPRISE: CODE QUALITY 753

Dependency Verification 754
Exploring Code with Code Maps 758
Code Cloning 760
Summary 760

Chapter 39: VISUAL STUDIO ENTERPRISE:

TESTING AND DEBUGGING 761
Automated Tests 762
Web Performance Tests 762
Load Tests 764
Coded UI Tests 768
Generic Tests 769
Ordered Tests 769
IntelliTrace 769
Diagnostic Tools 772
IntelliTest 774
Summary 775

Chapter 40: VISUAL STUDIO TEAM SERVICES 777

Getting Started with Git 778
Version Control 782
Committing 782
Branching 783
Syncing 783
Work Item Tracking 784
Work Item Queries 784
Work Item Types 786
Adding Work Items 786

Work Item State 787
Builds 787
Web Portal 789
Summary 790
INDEX 791

 

INTRODUCTION
AS A TOOL FOR DEVELOPERS, Visual Studio stands head and shoulders about its competition. The team responsible for developing Visual Studio has always put the productivity of people who code for a living at the top of their priority list. This version continues this tradition. Visual Studio always incorporates the latest advances in Microsoft’s premier programming languages (Visual Basic and C#), as well as adding little tidbits of functionality that are a boon to coders. But at a higher level, Visual Studio 2017 embraces open-source, mobile development, and cloud computing in a variety of ways. Azure is continually introducing new features and products and Visual Studio 2017 integrates seamlessly with them. While, in theory, it is possible to create any .NET application using tools as simple as Notepad and a command-line window, the typical developer would never think to do so. Visual Studio 2017, as was the case with its predecessors, includes a host of improvements and features that are aimed at making the life of a developer easier.
Visual Studio 2017 is an enormous product no matter which way you look at it. It can be intimidating to newcomers and difficult for even experienced .NET developers to find what they need. And that’s where this book comes in. Professional Visual Studio 2017 looks at every major aspect of this developer tool, showing you how to harness each feature and offering advice about how best to utilize the various components effectively. It shows you the building blocks that make up Visual Studio 2017, breaking the user interface down into manageable chunks for you to understand. It then expands on each of these components with additional details about exactly how they work, both in isolation and in conjunction with other parts of Visual Studio 2017, along with tools that are not included in the out-of-the-box product, to make your development efforts even more efficient.


WHO THIS BOOK IS FOR
Professional Visual Studio 2017 is for developers who are new to Visual Studio as well as those programmers who have some experience but want to learn about features they may have previously overlooked. Even if you are familiar with the way previous versions of Visual Studio worked, you may want to at least skim over Part I. These chapters deal with the basic constructs that make up the user interface.
The biggest changes to the building blocks are in the installation process. It is more granular, meaning that you install only what you need and if you don’t install a component initially, the installer is only a click or two away. But there are some little additions in functionality, so while you can get by without Part I, some of the changes in Visual Studio 2017 can make you a more efficient developer. And, after all, that’s what you’re looking to get out of this book. If you’re just starting out, you’ll greatly benefit from the first part, where basic concepts are explained and you’re introduced to the user interface and how to customize it to suit your own style.

 

WHAT THIS BOOK COVERS
Microsoft Visual Studio 2017 is arguably the most advanced integrated development environment (IDE) available for programmers today. It is based on a long history of programming languages and interfaces and has been influenced by many different variations on the theme of development environments.
Visual Studio 2017 does not represent a major departure from recent versions. Still, regardless of the type of application you’re creating, there are tweaks that have been made—some small, some less so (.NET Core, for example). Familiarity with the changes helps you perform your job better. For this reason, as well as to help newcomers to Visual Studio, this book covers the breadth of the product. Along the way, you will become more familiar and comfortable with the interface.
Visual Studio 2017 comes in several versions: Community, Professional, and Enterprise. The majority of this book deals with the Professional Edition of Visual Studio 2017, but some chapters utilize features found only in the Enterprise edition. If you haven’t used this edition before, read through Chapters 38 and 39 for an overview of the features it offers over and above the Professional Edition.


HOW THIS BOOK IS STRUCTURED
This book is divided into 11 parts:
➤➤ Integrated Development Environment: This book’s first five chapters are dedicated to familiarizing you with the core aspects of Visual Studio 2017, from the IDE structure and layout to the various options and settings you can change to make the user interface synchronize with your own way of doing things.
➤➤ Getting Started: In this part, you learn how to take control of your projects and how to organize them in ways that work with your own style.
➤➤ Digging Deeper: Though the many graphical components of Visual Studio that make a programmer’s job easier are discussed in many places throughout this book, you often need help when you’re in the process of actually writing code. This part deals with features that support
the coding of applications such as IntelliSense, code refactoring, and creating and running unit tests.
➤➤ Desktop Applications: Rich client applications have seen quite a transition within the .NET Framework, moving from Windows Forms applications to Windows Presentation Foundation (WPF) to Universal Windows Applications. Each of these gets its own chapter in this part.
➤➤ Web Applications: Web applications have seen even more transitions that Desktop applications. And just like Desktop applications, each of the three different development stylesto use them in Visual Studio 2017.

 

WHAT YOU NEED TO USE THIS BOOK
To use this book effectively, you’ll need only one additional item — Microsoft Visual Studio 2017 Professional Edition. With this software installed and the information found in this book, you’ll be able to get a handle on how to use Visual Studio 2017 effectively in a very short period of time. In order to be able to follow along with all of the examples in the book, you’ll want to be sure to install the following workloads during your Visual Studio 2017 installation (as discussed in Chapter 1):
➤➤ Universal Windows Platform
➤➤ .NET desktop development
➤➤ ASP.NET and web development
➤➤ Azure development
➤➤ Node.js development
➤➤ Data storage and processing
➤➤ Data science and analytical applications
➤➤ Mobile development with .NET
➤➤ Mobile development with Javascript
➤➤ .NET code cross-platform development
This book assumes that you are familiar with the traditional programming model, and it uses both the C# and Visual Basic (VB) languages to illustrate features within Visual Studio 2017. In addition, it is assumed that you can understand the code listings without an explanation of basic programming concepts in either language. If you’re new to programming and want to learn Visual Basic, please take a look at Beginning Visual Basic 2015 by Bryan Newsome. Similarly, if you are after a great book on C#, track down Beginning C# 6 Programming with Visual Studio 2015 by Benjamin Perkins, Jacob Vibe Hammer, and Jon D. Reid.
Some chapters discuss additional products and tools that work in conjunction with Visual Studio. The following are all available to download either on a trial basis or for free:
➤➤ Code Snippet Editor: This is a third-party tool developed for creating code snippets in VB. The Snippet Editor tool is discussed in Chapter 8.
➤➤ SQL Server 2016: The installation of Visual Studio 2017 includes an install of SQL Server 2016 Express, enabling you to build applications that use database files. However, for more comprehensive enterprise solutions, you can use a full SQL Server 2016 instead.
➤➤ Visual Studio 2017 Enterprise Edition: This more advanced version of Visual Studio introduces tools for other parts of the development process such as testing and design. They are discussed in Chapters 38-39.

➤➤ Team Foundation Server or Team Foundation Service: The server product (or the cloudbased equivalent) that provides application lifecycle management throughout Visual Studio 2017. This is covered in Chapter 40.
➤➤ Windows 7, Windows 8, or Windows 10: Visual Studio 2015 is compatible with Windows 7 SP1, and 8.1, and, of course, Windows 10. It can produce applications that run on Windows XP, Windows Vista, Windows 7, Windows 8, and Windows 10.

 

 

لینک دانلود کتاب Professional Visual Studio 2017.pdf 

  

عضویت در خبرنامه