Professional Visual Studio 2015 - Bruce Johnson - E-Book

Professional Visual Studio 2015 E-Book

Bruce Johnson

4,9
40,99 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.
Mehr erfahren.
Beschreibung

In-depth coverage of the major Visual Studio 2015 revamp Professional Visual Studio 2015 is the leading pro's guide to new and upgraded features of Microsoft Visual Studio. With a unique IDE-centric approach and deep dive into the software's many nooks and crannies, this book will bring you up to speed quickly on everything Visual Studio 2015 has to offer. Whether you're new to Visual Studio or just upgrading, you'll appreciate in-depth, professional explanation of updates, features, and support. Visual Studio 2015 is packed with improvements that increase productivity, and this book walks you through each one in succession to help you smooth your workflow and get more accomplished. From customization and the interface to code snippets and debugging, the Visual Studio upgrade expands your options -- and this book is your fast-track guide to getting on board quickly. The Visual Studios 2015 release fixes a number of issues that deterred many professionals from adopting VS 2013. Old products have been retooled, and new features are aimed at productivity enhancement and fixes to UI. Fully aligned with VS 2015, this guide walks you through the changes and helps you incorporate helpful new features into the way you work. * Discover new options for themes, displays, and settings * Learn the new workflow and shortcuts to ASP.NET code * Master improved debugging and unit testing support capabilities * Exploit changes to Windows STORE apps, phone apps, Azure, and SharePoint

Sie lesen das E-Book in den Legimi-Apps auf:

Android
iOS
von Legimi
zertifizierten E-Readern

Seitenzahl: 1668

Bewertungen
4,9 (18 Bewertungen)
16
2
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents

Introduction

Who This Book Is For

What This Book Covers

How This Book Is Structured

What You Need to Use This Book

Conventions

Source Code

Errata

p2p.Wrox.com

Part I: Integrated Development Environment

Chapter 1: A Quick Tour

Getting Started

The Visual Studio IDE

Summary

Chapter 2: The Solution Explorer, Toolbox, and Properties

Wrox.com

Code Downloads for this Chapter

The Solution Explorer

The Toolbox

Properties

Summary

Chapter 3: Options and Customizations

Wrox.com

Code Downloads for this Chapter

The Start Page

Window Layout

The Editor Space

Other Options

Importing and Exporting Settings

Summary

Chapter 4: The Visual Studio Workspace

Wrox.com

Code Downloads for this Chapter

The Code Editor

Code Navigation

The Command Window

The Immediate Window

The Class View

The Error List

The Object Browser

The Document Outline Tool Window

Reorganizing Tool Windows

Summary

Chapter 5: Find and Replace and Help

Wrox.com

Code Downloads for this Chapter

Quick Find/Replace

Find/Replace in Files

Accessing Help

Summary

Part II: Getting Started

Chapter 6: Solutions, Projects, and Items

Wrox.com

Code Downloads for this Chapter

Solution Structure

Solution File Format

Solution Properties

Project Types

Project Files Format

Project Properties

Web Application Project Properties

Web Site Projects

NuGet Packages

Summary

Chapter 7: IntelliSense and Bookmarks

IntelliSense Explained

JavaScript IntelliSense

XAML IntelliSense

IntelliSense Options

Extended IntelliSense

Bookmarks and the Bookmark Window

Summary

Chapter 8: Code Snippets and Refactoring

Wrox.com

Code Downloads for this Chapter

Code Snippets Revealed

Accessing Refactoring Support

Refactoring Actions

Summary

Chapter 9: Server Explorer

Wrox.com

Code Downloads for this Chapter

Server Connections

Data Connections

SharePoint Connections

Summary

Chapter 10: Modeling with the Class Designer

Wrox.com

Code Downloads for this Chapter

Creating a Class Diagram

The Design Surface

The Toolbox

The Class Details

The Properties Window

Layout

Exporting Diagrams

Code Generation and Refactoring

Summary

Part III: Digging Deeper

Chapter 11: Unit Testing

Wrox.com

Code Downloads for this Chapter

Your First Test Case

Asserting the Facts

Initializing and Cleaning Up

Testing Context

Advanced Unit Testing

IntelliTest

Summary

Chapter 12: Documentation with XML Comments

Wrox.com

Code Downloads for this Chapter

Inline Commenting

XML Comments

Using XML Comments

Generating Documentation with GhostDoc

Compiling Documentation with Sandcastle

Task List Comments

Summary

Chapter 13: Code Consistency Tools

Wrox.com

Code Downloads for this Chapter

Source Control

Summary

Chapter 14: Code Generation with T4

Wrox.com

Code Downloads for this Chapter

Creating a T4 Template

T4 Building Blocks

How T4 Works

T4 Directives

Troubleshooting

Generating Code Assets

Runtime Text Templates

Tips and Tricks

Summary

Chapter 15: Project and Item Templates

Wrox.com

Code Downloads for this Chapter

Creating Templates

Extending Templates

Starter Kits

Online Templates

Summary

Chapter 16: Language-Specific Features

Wrox.com

Code Downloads for this Chapter

Hitting a Nail with the Right Hammer

A Tale of Two Languages

.NET Compiler Platform (Roslyn)

F#

Summary

Part IV: Rich Client Applications

Chapter 17: Windows Forms Applications

Wrox.com

Code Downloads for this Chapter

Getting Started

The Windows Form

Form Design Preferences

Adding and Positioning Controls

Container Controls

Docking and Anchoring Controls

Summary

Chapter 18: Windows Presentation Foundation (WPF)

Wrox.com

Code Downloads for this Chapter

What Is WPF?

Getting Started with WPF

The WPF Designer and XAML Editor

Styling Your Application

Windows Forms Interoperability

Debugging with the WPF Visualizer

Summary

Chapter 19: Office Business Applications

Wrox.com

Code Downloads for this Chapter

Choosing an Office Project Type

Creating a Document-Level Customization

Creating an Application Add-In

Debugging Office Applications

Deploying Office Applications

Summary

Chapter 20: Windows Store Applications

Wrox.com

Code Downloads for this Chapter

What Is a Windows Store Application?

Creating a Windows Store Application

.NET Native Compilation

Summary

Chapter 21: Windows Phone

Wrox.com

Code Downloads for this Chapter

Creating a Windows Phone Project

Debugging Your Application

Phone Developer Power Tools

Summary

Chapter 22: Universal Apps

Wrox.com

Code Downloads for this Chapter

Portable Class Library

Shared Projects

Universal Windows Apps

Summary

Part IV: Rich Client Applications

Chapter 23: ASP.NET Web Forms

Wrox.com

Code Downloads for this Chapter

Web Application Versus Web Site Projects

Creating Web Projects

Designing Web Forms

Web Controls

Master Pages

Rich Client-Side Development

Summary

Chapter 24: ASP.NET MVC

Wrox.com

Code Downloads for this Chapter

Model View Controller

Getting Started with ASP.NET MVC

Choosing a Model

Controllers and Action Methods

Rendering a UI with Views

Advanced MVC

ASP.NET MVC 6 (and ASP.NET 5)

Summary

Chapter 25: Silverlight

Wrox.com

Code Downloads for this Chapter

What Is Silverlight?

Getting Started with Silverlight

Navigation Framework

Theming

Enabling Running Out of Browser

Summary

Chapter 26: SharePoint

Wrox.com

Code Downloads for this Chapter

SharePoint Execution Models

Preparing the Development Environment

Exploring SharePoint 2013

Creating a SharePoint Project

Building Custom SharePoint Components

Working with Features

Packaging and Deployment

Summary

Chapter 27: Windows Azure

Wrox.com

Code Downloads for this Chapter

The Windows Azure Platform

SQL Azure

AppFabric

Azure Mobile Services

Azure Websites

Azure Virtual Machines

Summary

Part VI: Data

Chapter 28: Visual Database Tools

Wrox.com

Code Downloads for this Chapter

Database Windows in Visual Studio 2015

Editing Data

Summary

Chapter 29: DataSets and DataBinding

Wrox.com

Code Downloads for this Chapter

DataSets Overview

Binding Data

Working with Data Sources

Summary

Chapter 30: Language Integrated Queries (LINQ)

Wrox.com

Code Downloads for this Chapter

LINQ Providers

Old-School Queries

Query Pieces

Debugging and Execution

LINQ to XML

Querying XML

Schema Support

LINQ to SQL

Summary

Chapter 31: The ADO.NET Entity Framework

Wrox.com

Code Downloads for this Chapter

What Is the Entity Framework?

Getting Started

Creating an Entity Model

Querying the Entity Model

Advanced Functionality

Summary

Chapter 32: Reporting

Wrox.com

Code Downloads for this Chapter

Getting Started with Reporting

Designing Reports

Rendering Reports

Deploying Reports

Summary

Part VII: Application Services

Chapter 33: Windows Communication Foundation (WCF)

Wrox.com

Code Downloads for this Chapter

What Is WCF?

Getting Started

Defining Contracts

Configuring WCF Service Endpoints

Hosting WCF Services

Consuming a WCF Service

Summary

Chapter 34: Windows Workflow Foundation (WF)

Wrox.com

Code Downloads for this Chapter

What Is Windows Workflow Foundation?

Why Use Windows Workflow?

Workflow Concepts

Getting Started

The Workflow Foundation Designer

Creating a Workflow

Summary

Chapter 35: Client Application Services

Wrox.com

Code Downloads for this Chapter

Client Services

Role Authorization

User Authentication

Settings

Login Form

Offline Support

Summary

Chapter 36: Synchronization Services

Wrox.com

Code Downloads for this Chapter

Occasionally Connected Applications

Server Direct

Getting Started with Synchronization Services

Synchronization Services over N-Tiers

Summary

Part VIII: Configuration and Resources

Chapter 37: Configuration Files

Wrox.com

Code Downloads for this Chapter

.Config Files

Configuration Schema

Application Settings

User Settings

Referenced Projects with Settings

Summary

Chapter 38: Connection Strings

Wrox.com

Code Downloads for this Chapter

Connection String Wizard

SQL Server Format

In-Code Construction

Encrypting Connection Strings

LocalDB

Azure SQL Database

Summary

Chapter 39: Resource Files

Wrox.com

Code Downloads for this Chapter

What Are Resources?

Resourcing Your Application

Satellite Resources

Accessing Specifics

Coding Resource Files

Custom Resources

Summary

Part IX: Debugging

Chapter 40: Using the Debugging Windows

Wrox.com

Code Downloads for this Chapter

The Code Window

The Breakpoints Window

The Output Window

The Immediate Window

The Watch Windows

The Code Execution Windows

The Memory Windows

The Parallel Debugging Windows

Exceptions

Summary

Chapter 41: Debugging with Breakpoints

Wrox.com

Code Downloads for this Chapter

Breakpoints

Tracepoints

Execution Control

Edit and Continue

Summary

Chapter 42: DataTips, Debug Proxies, and Visualizers

Wrox.com

Code Downloads for this Chapter

DataTips

Debugger Attributes

Type Proxies

Visualizers

Advanced Techniques

Summary

Chapter 43: Debugging Web Applications

Wrox.com

Code Downloads for this Chapter

Debugging Server-Side ASP.NET Code

Debugging Client-Side JavaScript

Tracing

Health Monitoring

Summary

Chapter 44: Advanced Debugging Techniques

Wrox.com

Code Downloads for this Chapter

Start Actions

Debugging with Code

Debugging Running Applications

Diagnostic Tools

.NET Framework Source

Multithreaded and Parallelized Application Debugging

Debugging SQL Server Stored Procedures

Mixed-Mode Debugging

Postmortem Debugging

Summary

Part X: Build and Deployment

Chapter 45: Upgrading with Visual Studio 2015

Wrox.com

Code Downloads for this Chapter

Upgrading from Recent Visual Studio Versions

Upgrading to .NET Framework 4.6

Summary

Chapter 46: Build Customization

Wrox.com

Code Downloads for this Chapter

General Build Options

Manual Dependencies

The Visual Basic Compile Page

C# Build Pages

MSBuild

Summary

Chapter 47: Assembly Versioning and Signing

Wrox.com

Code Downloads for this Chapter

Assembly Naming

Version Consistency

Strongly Named Assemblies

The Global Assembly Cache

Signing an Assembly

Summary

Chapter 48: Obfuscation, Application Monitoring, and Management

Wrox.com

Code Downloads for this Chapter

The IL Disassembler

Decompilers

Obfuscating Your Code

Application Monitoring and Management

Summary

Chapter 49: Packaging and Deployment

Wrox.com

Code Downloads for this Chapter

Windows Installer XML Toolset

ClickOnce

Summary

Chapter 50: Web Application Deployment

Wrox.com

Code Downloads for this Chapter

Web Deployment

Web Project Installers

The Web Platform Installer

Summary

Part XI: Customizing and Extending Visual Studio

Chapter 51: The Automation Model

Wrox.com

Code Downloads for this Chapter

Visual Studio Extensibility Options

The Visual Studio Automation Model

Summary

Chapter 52: VSPackages

Wrox.com

Code Downloads for this Chapter

Developing a VSPackage Extension

Deploying VSPackages

Summary

Chapter 53: Managed Extensibility Framework (MEF)

Wrox.com

Code Downloads for this Chapter

Getting Started with MEF

The Visual Studio Editor

Extending the Editor

Summary

Part XII: Visual Studio Enterprise

Chapter 54: Visual Studio Enterprise for Architects

Wrox.com

Code Downloads for this Chapter

Modeling Projects

Exploring Code with Code Maps

Summary

Chapter 55: Visual Studio Enterprise for Developers

Wrox.com

Code Downloads for this Chapter

Code Metrics

Code Analysis Tool

C/C++ Code Analysis Tool

Profiling Tools

Standalone Profiler

IntelliTrace

Database Tools

Summary

Chapter 56: Visual Studio Enterprise for Testers

Wrox.com

Code Downloads for this Chapter

Automated Tests

Relating Code and Tests

Visual Studio Test Management

Microsoft Test Manager

Summary

Chapter 57: Team Foundation Server

Wrox.com

Code Downloads for this Chapter

Team Project

Process Templates

Work Item Tracking

Excel and Project Integration

Version Control

Team Foundation Build

Reporting and Business Intelligence

Team Portal

Summary

End User License Agreement

Pages

xxxix

xl

xli

xlii

xliii

xliv

xlv

1

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100

101

103

104

105

106

107

108

109

110

111

112

113

114

115

117

119

120

121

122

123

124

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

145

146

147

148

149

150

151

152

153

154

155

156

157

158

159

160

161

162

163

164

165

166

167

168

169

170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

199

200

201

202

203

204

205

206

207

208

209

210

211

212

213

214

215

216

217

218

219

220

221

222

223

224

225

226

227

228

229

230

231

232

233

235

236

237

238

239

240

241

242

243

244

245

246

247

248

249

250

251

252

253

254

255

256

257

258

259

260

261

262

263

264

265

266

267

268

269

270

271

272

273

274

275

276

277

278

279

280

281

282

283

284

285

286

287

288

289

290

291

292

293

294

295

296

297

299

300

301

302

303

304

305

306

307

308

309

310

311

312

313

314

315

316

317

318

319

320

321

322

323

324

325

326

327

328

329

330

331

332

333

334

335

336

337

338

339

340

341

342

343

344

345

347

348

349

350

351

352

353

354

355

356

357

358

359

360

361

362

365

366

367

368

369

370

371

372

373

374

375

376

377

378

379

380

381

382

383

385

386

387

388

389

390

391

392

393

394

395

396

397

398

399

400

401

402

403

404

405

406

407

408

409

410

411

412

413

414

415

416

417

418

419

420

421

422

423

424

425

426

427

428

429

430

431

432

433

434

435

436

437

438

439

440

441

442

443

444

445

446

447

448

449

450

451

452

453

455

456

457

458

459

460

461

462

463

464

465

466

467

468

469

470

471

472

473

474

475

476

477

478

479

481

483

484

485

486

487

488

489

490

491

492

493

494

495

496

497

498

499

500

501

502

503

504

505

506

507

508

509

510

511

512

513

514

515

516

517

518

519

520

521

522

523

524

525

526

527

528

529

530

531

532

533

534

535

536

537

538

539

540

541

542

543

544

545

546

547

548

549

550

551

552

553

554

555

556

557

558

559

560

561

562

563

564

565

566

567

568

569

570

571

572

573

574

575

577

578

579

580

581

582

583

584

585

586

587

588

589

590

591

592

593

594

595

596

597

598

599

601

602

603

604

605

606

607

608

609

610

611

612

613

614

615

616

617

618

621

622

623

624

625

626

627

628

629

630

631

633

634

635

636

637

638

639

640

641

642

643

644

645

646

647

648

649

650

651

652

653

654

655

656

657

658

659

660

661

662

663

665

666

667

668

669

670

671

672

673

674

675

676

677

678

679

680

681

682

683

684

685

686

687

688

689

690

691

692

693

694

695

696

697

698

699

700

701

702

703

704

705

706

707

708

709

710

711

712

713

714

715

716

717

718

719

720

721

722

723

724

725

726

727

728

729

730

731

732

733

734

735

736

737

738

739

740

741

742

743

744

745

746

747

748

749

750

751

752

753

754

755

756

757

758

759

760

761

763

765

766

767

768

769

770

771

772

773

774

775

776

777

778

779

780

781

782

783

784

785

786

787

789

790

791

792

793

794

795

796

797

798

799

800

801

802

803

804

805

806

807

808

809

811

812

813

814

815

816

817

818

819

820

821

822

823

824

825

826

827

828

829

831

832

833

834

835

836

837

838

839

840

841

843

845

846

847

848

849

850

851

852

853

854

855

856

857

858

859

860

861

862

863

864

865

866

867

869

870

871

872

873

874

875

876

877

878

879

880

881

882

883

884

885

886

887

888

889

890

891

892

893

894

895

896

897

898

899

900

901

902

903

904

905

907

908

909

910

911

912

913

914

915

916

917

918

919

920

921

922

923

924

925

927

928

929

930

931

932

933

934

935

936

937

938

939

941

942

943

944

945

946

947

948

949

950

951

952

953

954

955

957

958

959

960

961

962

963

964

965

966

967

968

969

970

971

972

973

975

976

977

978

979

980

981

982

983

984

985

986

987

988

989

990

991

992

993

994

995

996

997

998

999

1000

1001

1003

1004

1005

1006

1007

1008

1009

1010

1011

1012

1013

1014

1015

1016

1017

1018

1019

1020

1021

1022

1023

1024

1025

1026

1027

1028

1029

1030

1031

1032

1033

1034

1035

1037

1038

1039

1040

1041

1042

1043

1044

1045

1046

1047

1048

1049

1050

1051

1052

1053

1054

1055

1056

1057

1058

1059

1060

1061

1062

1063

1064

1065

1066

1067

1068

1069

1070

1071

1072

1073

1074

1075

1076

1077

1078

1079

1080

1081

1082

1083

1084

1085

1086

1087

1089

1090

1091

1092

1093

1094

1095

1096

1097

1099

1100

1101

1102

1103

1104

1105

1106

1107

1108

1109

1110

1111

1112

1113

1115

1116

1117

1118

1119

1120

1121

1122

1123

1124

1125

1126

1127

1128

1129

1130

1131

1132

1133

1134

1135

1136

1137

1138

1139

1141

1142

1143

1144

1145

1146

1147

1148

1149

1150

1151

1152

1153

1154

1155

1156

1157

1158

1159

1160

1161

1162

1163

1164

1165

1166

1167

1168

1169

1170

1171

1172

1173

1174

1175

1177

1178

1179

1180

1181

1182

1183

1184

1185

1186

1187

1188

1189

1190

1191

1192

1193

1194

1195

1196

1197

1198

1199

1200

1201

1202

1203

1204

1205

1206

1207

1208

1209

1210

1211

1212

1213

1214

1215

1216

1217

1218

1219

Guide

Cover

Table of Contents

Introduction

Begin Reading

List of Illustrations

Chapter 1: A Quick Tour

Figure 1.1

Figure 1.2

Figure 1.3

Figure 1.4

Figure 1.5

Figure 1.6

Figure 1.7

Figure 1.8

Figure 1.9

Figure 1.10

Figure 1.11

Figure 1.12

Figure 1.13

Figure 1.14

Figure 1.15

Figure 1.16

Chapter 2: The Solution Explorer, Toolbox, and Properties

Figure 2.1

Figure 2.2

Figure 2.3

Figure 2.4

Figure 2.5

Figure 2.6

Figure 2.7

Figure 2.8

Figure 2.9

Figure 2.10

Figure 2.11

Figure 2.12

Figure 2.13

Figure 2.14

Figure 2.15

Figure 2.16

Figure 2.17

Figure 2.18

Figure 2.19

Figure 2.20

Figure 2.21

Figure 2.22

Chapter 3: Options and Customizations

Figure 3.1

Figure 3.2

Figure 3.3

Figure 3.4

Figure 3.5

Figure 3.6

Figure 3.7

Figure 3.8

Figure 3.9

Figure 3.10

Figure 3.11

Figure 3.12

Figure 3.13

Figure 3.14

Figure 3.15

Figure 3.16

Figure 3.17

Figure 3.18

Figure 3.19

Figure 3.20

Figure 3.21

Figure 3.22

Figure 3.23

Figure 3.24

Figure 3.25

Chapter 4: The Visual Studio Workspace

Figure 4.1

Figure 4.2

Figure 4.3

Figure 4.4

Figure 4.5

Figure 4.6

Figure 4.7

Figure 4.8

Figure 4.9

Figure 4.10

Figure 4.11

Figure 4.12

Figure 4.13

Figure 4.14

Figure 4.15

Figure 4.16

Figure 4.17

Figure 4.18

Figure 4.19

Figure 4.20

Figure 4.21

Figure 4.22

Figure 4.23

Figure 4.24

Figure 4.25

Figure 4.26

Figure 4.27

Figure 4.28

Figure 4.29

Figure 4.30

Chapter 5: Find and Replace and Help

Figure 5.1

Figure 5.2

Figure 5.3

Figure 5.4

Figure 5.5

Figure 5.6

Figure 5.7

Figure 5.8

Figure 5.9

Figure 5.10

Figure 5.11

Chapter 6: Solutions, Projects, and Items

Figure 6.1

Figure 6.2

Figure 6.3

Figure 6.4

Figure 6.5

Figure 6.6

Figure 6.7

Figure 6.8

Figure 6.9

Figure 6.10

Figure 6.11

Figure 6.12

Figure 6.13

Figure 6.14

Figure 6.15

Figure 6.16

Figure 6.17

Figure 6.18

Figure 6.19

Figure 6.20

Figure 6.21

Figure 6.22

Figure 6.23

Figure 6.24

Figure 6.25

Figure 6.26

Figure 6.27

Figure 6.28

Figure 6.29

Figure 6.30

Chapter 7: IntelliSense and Bookmarks

Figure 7.1

Figure 7.2

Figure 7.3

Figure 7.4

Figure 7.5

Figure 7.6

Figure 7.7

Figure 7.8

Figure 7.9

Figure 7.10

Figure 7.11

Figure 7.12

Figure 7.13

Figure 7.14

Figure 7.15

Figure 7.16

Figure 7.17

Figure 7.18

Figure 7.19

Figure 7.20

Figure 7.21

Figure 7.22

Chapter 8: Code Snippets and Refactoring

Figure 8.1

Figure 8.2

Figure 8.3

Figure 8.4

Figure 8.5

Figure 8.6

Figure 8.7

Figure 8.8

Figure 8.9

Figure 8.10

Figure 8.11

Figure 8.12

Figure 8.13

Figure 8.14

Figure 8.15

Figure 8.16

Figure 8.17

Figure 8.18

Chapter 9: Server Explorer

Figure 9.1

Figure 9.2

Figure 9.3

Figure 9.4

Figure 9.5

Figure 9.6

Figure 9.7

Figure 9.8

Figure 9.9

Figure 9.10

Figure 9.11

Figure 9.12

Figure 9.13

Figure 9.14

Figure 9.15

Figure 9.16

Figure 9.17

Chapter 10: Modeling with the Class Designer

Figure 10.1

Figure 10.2

Figure 10.3

Figure 10.4

Figure 10.5

Figure 10.6

Figure 10.7

Figure 10.8

Figure 10.9

Chapter 11: Unit Testing

Figure 11.1

Figure 11.2

Figure 11.3

Figure 11.4

Figure 11.5

Figure 11.6

Figure 11.7

Figure 11.8

Figure 11.9

Figure 11.10

Figure 11.10

Figure 11.11

Figure 11.12

Figure 11.12

Figure 11.13

Figure 11.14

Figure 11.14

Chapter 12: Documentation with XML Comments

Figure 12.1

Figure 12.2

Figure 12.3

Figure 12.4

Figure 12.5

Figure 12.6

Figure 12.7

Figure 12.8

Figure 12.9

Chapter 13: Code Consistency Tools

Figure 13.1

Figure 13.2

Figure 13.3

Figure 13.4

Figure 13.5

Figure 13.6

Figure 13.7

Figure 13.8

Figure 13.9

Chapter 14: Code Generation with T4

Figure 14.1

Figure 14.2

Figure 14.3

Figure 14.4

Figure 14.5

Chapter 15: Project and Item Templates

Figure 15.1

Figure 15.2

Figure 15.3

Figure 15.4

Figure 15.5

Figure 15.6

Figure 15.7

Figure 15.8

Figure 15.9

Figure 15.10

Figure 15.11

Figure 15.12

Chapter 16: Language-Specific Features

Figure 16.1

Figure 16.2

Figure 16.3

Figure 16.4

Figure 16.5

Figure 16.6

Chapter 17: Windows Forms Applications

Figure 17.1

Figure 17.2

Figure 17.3

Figure 17.4

Figure 17.5

Figure 17.6

Figure 17.7

Figure 17.8

Figure 17.9

Figure 17.10

Figure 17.11

Figure 17.12

Figure 17.13

Figure 17.14

Figure 17.15

Figure 17.16

Figure 17.17

Figure 17.18

Chapter 18: Windows Presentation Foundation (WPF)

Figure 18.1

Figure 18.2

Figure 18.3

Figure 18.4

Figure 18.5

Figure 18.6

Figure 18.7

Figure 18.8

Figure 18.9

Figure 18.10

Figure 18.11

Figure 18.12

Figure 18.13

Figure 18.14

Figure 18-15

Figure 18.16

Figure 18.17

Figure 18.18

Figure 18.19

Figure 18.20

Figure 18.21

Figure 18.22

Figure 18.23

Figure 18.24

Figure 18.25

Figure 18.26

Figure 18.27

Figure 18.28

Figure 18.29

Figure 18.30

Figure 18.31

Figure 18.32

Figure 18.33

Chapter 19: Office Business Applications

Figure 19.1

Figure 19.2

Figure 19.3

Figure 19.4

Figure 19.5

Figure 19.6

Figure 19.7

Figure 19.8

Figure 19.9

Figure 19.10

Figure 19.11

Figure 19.12

Figure 19.13

Figure 19.14

Figure 19.15

Figure 19.16

Figure 19.17

Chapter 20: Windows Store Applications

Figure 20.1

Figure 20.2

Figure 20.3

Figure 20.4

Figure 20.5

Figure 20.6

Figure 20.7

Figure 20.8

Figure 20.9

Figure 20.10

Figure 20.11

Figure 20.12

Figure 20.13

Chapter 21: Windows Phone

Figure 21.1

Figure 21.2

Figure 21.3

Figure 21.4

Figure 21.5

Figure 21.6

Figure 21.7

Figure 21.8

Figure 21.9

Figure 21.10

Figure 21.11

Chapter 22: Universal Apps

Figure 22.1

Figure 22.2

Figure 22.3

Figure 22.4

Figure 22.5

Figure 22.6

Figure 22.7

Figure 22.8

Chapter 23: ASP.NET Web Forms

Figure 23.1

Figure 23.2

Figure 23.3

Figure 23.4

Figure 23.5

Figure 23.6

Figure 23.7

Figure 23.8

Figure 23.9

Figure 23.10

Figure 23.11

Figure 23.12

Figure 23.13

Figure 23.14

Figure 23.15

Figure 23.16

Figure 23.17

Figure 23.18

Figure 23.19

Figure 23.20

Figure 23.21

Figure 23.22

Figure 23.23

Figure 23.24

Figure 23.25

Figure 23.26

Figure 23.27

Figure 23.28

Figure 23.29

Figure 23.30

Figure 23.31

Figure 23.32

Figure 23.33

Figure 23.34

Figure 23.35

Figure 23.36

Figure 23.37

Figure 23.38

Chapter 24: ASP.NET MVC

Figure 24.1

Figure 24.2

Figure 24.3

Figure 24.4

Figure 24.5

Figure 24.6

Figure 24.7

Figure 24.8

Figure 24.9

Figure 24.10

Figure 24.11

Figure 24.12

Figure 24.13

Figure 24.14

Figure 24.15

Chapter 25: Silverlight

Figure 25.1

Figure 25.2

Figure 25.3

Figure 25.4

Figure 25.5

Figure 25.6

Figure 25.7

Figure 25.8

Figure 25.9

Figure 25.10

Chapter 26: SharePoint

Figure 26.1

Figure 26.2

Figure 26.3

Figure 26.4

Figure 26.5

Figure 26.6

Figure 26.7

Figure 26.8

Figure 26.9

Figure 26.10

Figure 26.11

Figure 26.12

Figure 26.13

Figure 26.14

Figure 26.15

Figure 26.16

Figure 26.17

Figure 26.18

Figure 26.19

Figure 26.20

Figure 26.21

Figure 26.22

Chapter 27: Windows Azure

Figure 27.1

Figure 27.2

Figure 27.3

Figure 27.4

Figure 27.5

Figure 27.6

Figure 27.7

Figure 27.8

Figure 27.9

Figure 27.10

Figure 27.11

Chapter 28: Visual Database Tools

Figure 28.1

Figure 28.2

Figure 28.3

Figure 28.4

Figure 28.5

Figure 28.6

Figure 28.7

Figure 28.8

Figure 28.9

Figure 28.10

Chapter 29: DataSets and DataBinding

Figure 29.1

Figure 29.2

Figure 29.3

Figure 29.4

Figure 29.5

Figure 29.6

Figure 29.7

Figure 29.8

Figure 29.9

Figure 29.10

Figure 29.11

Figure 29.12

Figure 29.13

Figure 29.14

Figure 29.15

Figure 29.16

Figure 29.17

Figure 29.18

Chapter 30: Language Integrated Queries (LINQ)

Figure 30.1

Figure 30.2

Figure 30.3

Figure 30.4

Figure 30.5

Figure 30.6

Figure 30.7

Figure 30.8

Figure 30.9

Figure 30.10

Figure 30.11

Figure 30.12

Figure 30.13

Figure 30.14

Figure 30.15

Figure 30.16

Chapter 31: The ADO.NET Entity Framework

Figure 31.1

Figure 31.2

Figure 31.3

Figure 31.4

Figure 31.5

Figure 31.6

Figure 31.7

Figure 31.8

Figure 31.9

Figure 31.10

Figure 31.11

Figure 31.12

Figure 31.13

Chapter 32: Reporting

Figure 32.1

Figure 32.2

Figure 32.3

Figure 32.4

Figure 32.5

Figure 32.6

Figure 32.7

Figure 32.8

Figure 32.9

Figure 32.10

Figure 32.11

Figure 32.12

Figure 32.13

Figure 32.14

Figure 32.15

Figure 32.16

Figure 32.17

Figure 32.18

Figure 32.19

Figure 32.20

Figure 32.21

Figure 32.22

Figure 32.23

Figure 32.24

Figure 32.25

Figure 32.26

Figure 32.27

Figure 32.28

Figure 32.29

Figure 32.30

Figure 32.31

Figure 32.32

Figure 32.33

Figure 32.34

Figure 32.35

Figure 32.36

Figure 32.37

Chapter 33: Windows Communication Foundation (WCF)

Figure 33.1

Figure 33.2

Figure 33.3

Figure 33.4

Figure 33.5

Figure 33.6

Figure 33.7

Figure 33.8

Figure 33.9

Figure 33.10

Figure 33.11

Chapter 34: Windows Workflow Foundation (WF)

Figure 34.1

Figure 34.2

Figure 34.3

Figure 34.4

Figure 34.5

Figure 34.7

Figure 34.8

Figure 34.9

Figure 34.10

Figure 34.11

Figure 34.12

Figure 34.13

Chapter 35: Client Application Services

Figure 35.1

Figure 35.2

Figure 35.3

Figure 35.4

Figure 35.5

Figure 35.6

Chapter 36: Synchronization Services

Figure 36.1

Figure 36.2

Figure 36.3

Figure 36.4

Chapter 37: Configuration Files

Figure 37.1

Figure 37.2

Figure 37.3

Figure 37.4

Figure 37.5

Figure 37.6

Figure 37.7

Figure 37.8

Chapter 38: Connection Strings

Figure 38.1

Figure 38.2

Figure 38.3

Figure 38.4

Figure 38.5

Figure 38.6

Figure 38.7

Figure 38.8

Chapter 39: Resource Files

Figure 39.1

Figure 39.2

Figure 39.3

Figure 39.4

Figure 39.5

Figure 39.6

Chapter 40: Using the Debugging Windows

Figure 40.1

Figure 40.2

Figure 40.3

Figure 40.4

Figure 40.5

Figure 40.6

Figure 40.7

Figure 40.8

Figure 40.9

Figure 40.10

Figure 40.11

Figure 40.12

Figure 40.13

Figure 40.14

Figure 40.15

Figure 40.16

Figure 40.17

Figure 40.18

Figure 40.19

Figure 40.20

Figure 40.21

Chapter 41: Debugging with Breakpoints

Figure 41.1

Figure 41.2

Figure 41.3

Figure 41.4

Figure 41.5

Figure 41.6

Figure 41.7

Figure 41.8

Figure 41.9

Figure 41.10

Figure 41.11

Figure 41.12

Figure 41.13

Figure 41.14

Figure 41.15

Figure 41.16

Figure 41.17

Chapter 42: DataTips, Debug Proxies, and Visualizers

Figure 42.1

Figure 42.2

Figure 42.3

Figure 42.4

Figure 42.5

Figure 42.6

Figure 42.7

Figure 42.8

Figure 42.9

Figure 42.10

Chapter 43: Debugging Web Applications

Figure 43.1

Figure 43.2

Figure 43.3

Figure 43.4

Figure 43.5

Figure 43.6

Figure 43.7

Figure 43.8

Figure 43.9

Figure 43.10

Figure 43.11

Chapter 44: Advanced Debugging Techniques

Figure 44.1

Figure 44.2

Figure 44.3

Figure 44.4

Figure 44.5

Figure 44.6

Figure 44.7

Figure 44.8

Figure 44.9

Figure 44.10

Figure 44.11

Figure 44.12

Figure 44.13

Figure 44.14

Figure 44.15

Figure 44.16

Figure 44.17

Figure 44.18

Figure 44.19

Figure 44.20

Figure 44.21

Figure 44.22

Figure 44.23

Figure 44.24

Figure 44.25

Chapter 45: Upgrading with Visual Studio 2015

Figure 45.1

Figure 45.2

Chapter 46: Build Customization

Figure 46.1

Figure 46.2

Figure 46.3

Figure 46.4

Figure 46.5

Figure 46.6

Figure 46.7

Figure 46.8

Figure 46.9

Figure 46.10

Chapter 47: Assembly Versioning and Signing

Figure 47.1

Figure 47.2

Figure 47.3

Figure 47.4

Figure 47.5

Chapter 48: Obfuscation, Application Monitoring, and Management

Figure 48.1

Figure 48.2

Figure 48.3

Figure 48.4

Figure 48.5

Figure 48.6

Figure 48.7

Figure 48.8

Figure 48.9

Figure 48.10

Figure 48.11

Figure 48.12

Figure 48.13

Chapter 49: Packaging and Deployment

Figure 49.1

Figure 49.2

Figure 49.3

Figure 49.4

Figure 49.5

Figure 49.6

Figure 49.7

Figure 49.8

Figure 49.9

Figure 49.10

Figure 49.11

Figure 49.12

Figure 49.13

Figure 49.14

Figure 49.15

Chapter 50: Web Application Deployment

Figure 50.1

Figure 50.2

Figure 50.3

Figure 50.4

Figure 50.5

Figure 50.6

Chapter 52: VSPackages

Figure 52.1

Figure 52.2

Figure 52.3

Figure 52.4

Figure 52.5

Figure 52.6

Figure 52.7

Figure 52.8

Figure 52.9

Figure 52.10

Figure 52.11

Figure 52.12

Figure 52.13

Chapter 53: Managed Extensibility Framework (MEF)

Figure 53.1

Figure 53.2

Figure 53.3

Chapter 54: Visual Studio Enterprise for Architects

Figure 54.1

Figure 54.2

Figure 54.3

Figure 54.4

Figure 54.5

Figure 54.6

Figure 54.7

Figure 54.8

Figure 54.9

Figure 54.10

Figure 54.11

Figure 54.12

Figure 54.13

Figure 54.14

Figure 54.15

Figure 54.16

Figure 54.17

Chapter 55: Visual Studio Enterprise for Developers

Figure 55.1

Figure 55.2

Figure 55.3

Figure 55.4

Figure 55.5

Figure 55.6

Figure 55.7

Figure 55.8

Figure 55.9

Figure 55.10

Figure 55.11

Figure 55.12

Figure 55.13

Figure 55.14

Figure 55.15

Chapter 56: Visual Studio Enterprise for Testers

Figure 56.1

Figure 56.2

Figure 56.3

Figure 56.4

Figure 56.5

Figure 56.6

Figure 56.7

Figure 56.8

Figure 56.9

Figure 56.10

Figure 56.11

Figure 56.12

Figure 56.13

Figure 56.14

Figure 56.15

Figure 56.16

Figure 56.17

Figure 56.18

Chapter 57: Team Foundation Server

Figure 57.1

Figure 57.2

Figure 57.3

Figure 57.4

Figure 57.5

Figure 57.6

Figure 57.7

Figure 57.8

Figure 57.9

Figure 57.10

Figure 57.11

Figure 57.12

Figure 57.13

Figure 57.14

Figure 57.15

Figure 57.16

Figure 57.17

Figure 57.18

Figure 57.19

Figure 57.20

Figure 57.21

Figure 57.22

Figure 57.23

Figure 57.24

List of Tables

Chapter 7: IntelliSense and Bookmarks

Table 7.1 IntelliSense Commands

Chapter 8: Code Snippets and Refactoring

Table 8.1 Information Panes for Snippets

Chapter 9: Server Explorer

Table 9.1 Values for DefaultSwitch

Chapter 15: Project and Item Templates

Table 15.1 Template Parameters

Chapter 37: Configuration Files

Table 37.1 Locking Attributes

Table 37.2 Settings Objects Methods

Chapter 38: Connection Strings

Table 38.1 Some Common Connection Properties

Chapter 44: Advanced Debugging Techniques

Table 44.1 Methods for Outputting Debug Messages

Table 44.2 IntelliTrace Data Collection Types

Chapter 45: Upgrading with Visual Studio 2015

Table 45.1 Compatible Project Types

Chapter 55: Visual Studio Enterprise for Developers

Table 55.1 Some Report Views

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#). But the march toward both cloud-based computing and open source has become exorable, and Visual Studio 2015 demonstrates how both of those concepts can be integrated into the product. In theory, it is possible to create any .NET application using tools as simple as Notepad and a command-line window. But the typical developer would never think to do so. The tools and utilities that come with Visual Studio do more to increase the productivity of developers than any other single piece of software currently available. Visual Studio 2015 is no different from previous versions in this respect. It includes a host of improvements and features that are aimed at making the life of a developer easier.

Visual Studio 2015 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 2015 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 2015, 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 2015, 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 2015 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. In the past, the basic interface didn't change much from version to version. But as soon as you launch Visual Studio 2015 for the first time, you'll notice that the user interface has gone through some significant changes. While you can get by without Part I, some of the changes in Visual Studio 2015 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 2015 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 2015 is not a revolutionary release. However, regardless of the type of application you're creating, there are tweaks that have been made—some small, some less so (ASP.NET v.Next, 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 2015 comes in several versions: Community, Professional, and Enterprise. The majority of this book deals with the Professional Edition of Visual Studio 2015, but some chapters utilize features found only in the Enterprise edition. If you haven't used this edition before, read through Chapters 54 to 57 for an overview of the features it offers over and above the Professional Edition.

How This Book Is Structured

This book is divided into 12 parts:

Integrated Development Environment:

This book's first five chapters are dedicated to familiarizing you with the core aspects of Visual Studio 2015, 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. The .NET Framework supports dynamic languages and strengthens feature parity between the two primary .NET languages, C# and VB. This part covers these languages, as well as looking at a range of features that will help you write better and more consistent code.

Rich Client Applications and Web Applications:

For support with building everything from Office add-ins to cloud applications, Visual Studio enables you to develop applications for a wide range of platforms. These two parts cover the application platforms that are supported within Visual Studio 2015, including ASP.NET and Office, WPF, Silverlight 5, and ASP.NET MVC. Also,

Chapter 20

takes a look into the support provided for the Windows Store applications and

Chapter 22

examines the tooling for Universal Windows Apps.

Data:

A large proportion of applications use some form of data storage. Visual Studio 2015 and the .NET Framework include strong support for working with databases and other data sources. This part examines how to use DataSets, the Visual Database Tools, LINQ, Synchronization Services, and ADO.NET Entity Framework to build applications that work with data. It also shows you how you can then present this data using Reporting.

Application Services:

Through the course of building an application, you are likely to require access to services that may or may not reside within your organization. This part covers core technologies such as WCF, WF, and Application Services that you can use to provide functionality to these services.

Configuration and Resources:

The built-in support for configuration files allows you to adjust the way an application functions on the fly without having to rebuild it. Furthermore, resource files can be used to both access static data and easily localize an application into foreign languages and cultures. This part of the book shows how to use .NET configuration and resource files.

Debugging:

Application debugging is one of the more challenging tasks developers have to tackle, but correct use of the Visual Studio 2015 debugging features will help you analyze the state of the application and determine the cause of any bugs. This part examines the debugging support provided by the IDE.

Build and Deployment:

In addition to discussing how to build your solutions effectively and get applications into the hands of your end users, this part also deals with the process of upgrading your projects from previous versions.

Customizing and Extending Visual Studio:

If the functionality found in the previous part isn't enough to help you in your coding efforts, Visual Studio 2015 is even more extensible. This part covers the automation model, how to write custom extensions, and then how to use the Microsoft Extensibility Framework (MEF) to extend Visual Studio 2015.

Visual Studio Enterprise:

The final part of the book examines the additional features only available in the Enterprise version of Visual Studio 2015. In addition, you'll also learn how the Team Foundation Server provides an essential tool for managing software projects.

Though this breakdown of the Visual Studio feature set provides the most logical and easily understood set of topics, you may need to look for specific functions that will aid you in a particular activity. To address this need, references to appropriate chapters are provided whenever a feature is covered in more detail elsewhere in the book.

What You Need to Use This Book

To use this book effectively, you'll need only one additional item — Microsoft Visual Studio 2015 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 2015 effectively in a very short period of time.

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 2015. 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 Visual C# 2015 Programming 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

.

Sandcastle:

Using Sandcastle, you can generate comprehensive documentation for every member and class within your solutions from the XML comments in your code. XML comments and Sandcastle are discussed in

Chapter 12

.

SQL Server 2012:

The installation of Visual Studio 2015 includes an install of SQL Server 2014 Express, enabling you to build applications that use database files. However, for more comprehensive enterprise solutions, you can use a full SQL Server 2014 instead. Database connectivity is covered in

Chapter 28

.

Visual Studio 2015 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 54

57

.

Team Foundation Server or Team Foundation Service:

The server product (or the cloud-based equivalent) that provides application lifecycle management throughout Visual Studio 2015. This is covered in

Chapter 57

.

Windows 7, Windows 8, or Windows 10:

Visual Studio 2015 is compatible with Windows 7 and 8 as well as their youngest brother, Windows 10. It can produce applications that run on Windows XP, Windows Vista, Windows 7, Windows 8, and Windows 10.

Conventions

To help you get the most from the text and keep track of what's happening, we've used a number of conventions throughout the book.

Warning

Boxes like this one hold important, not-to-be forgotten information that is directly relevant to the surrounding text.

Note

Notes, tips, hints, tricks, and asides to the current discussion are offset and placed in italics like this.

As for styles in the text:

We

highlight

new terms and important words when we introduce them.

We show URLs and code within the text like so:

persistence.properties.

We present code in the following way:

We use a monofont type for code examples.

We use bold to emphasize code that is particularly important in the present context or to show changes from a previous code snippet.

Source Code

As you work through the examples in this book, you may choose either to type in all the code manually or to use the source code files that accompany the book. All the source code used in this book is available for download at www.wrox.com. Specifically for this book, the code download is on the Download Code tab at

www.wrox.com/go/professionalvisualstudio2015

You can also search for the book at www.wrox.com by ISBN (the ISBN for this book is 978-1-119-06805-1) to find the code. And a complete list of code downloads for all current Wrox books is available at www.wrox.com/dynamic/books/download.aspx.

Note

Because many books have similar titles, you may find it easiest to search by ISBN; this book's ISBN is 978-1-119-06805-1.

Alternately, you can go to the main Wrox code download page at www.wrox.com/dynamic/books/download.aspx to see the code available for this book and all other Wrox books.

Most of the code on www.wrox.com is compressed in a .ZIP, .RAR archive, or similar archive format appropriate to the platform. Once you download the code, just decompress it with your favorite compression tool.

Errata

We make every effort to ensure that there are no errors in the text or in the code. However, no one is perfect, and mistakes do occur. If you find an error in one of our books, like a spelling mistake or faulty piece of code, we would be very grateful for your feedback. By sending in errata you may save another reader hours of frustration and at the same time you will be helping us provide even higher quality information.

To find the errata page for this book, go to www.wrox.com and locate the title using the Search box or one of the title lists. Then, on the Book Search Results page, click the Errata link. On this page you can view all errata that has been submitted for this book and posted by Wrox editors.

Note

A complete book list including links to errata is also available atwww.wrox.com/misc-pages/booklist.shtml.

If you don't spot “your” error on the Errata page, click the Errata Form link and complete the form to send us the error you have found. We'll check the information and, if appropriate, post a message to the book's errata page and fix the problem in subsequent editions of the book.

p2p.Wrox.com

For author and peer discussion, join the P2P forums at p2p.wrox.com. The forums are a web-based system for you to post messages relating to Wrox books and related technologies and interact with other readers and technology users. The forums offer a subscription feature to email you topics of interest of your choosing when new posts are made to the forums. Wrox authors, editors, other industry experts, and your fellow readers are present on these forums.

At http://p2p.wrox.com you will find a number of different forums that will help you, not only as you read this book, but also as you develop your own applications. To join the forums, just follow these steps:

Go to

p2p.wrox.com

and click the Register link.

Read the terms of use and click Agree.

Complete the required information to join as well as any optional information you wish to provide and click Submit.

You will receive an email with information describing how to verify your account and complete the joining process.

Note

You can read messages in the forums without joining P2P but in order to post your own messages, you must join.

Once you join, you can post new messages and respond to messages other users post. You can read messages at any time on the web. If you would like to have new messages from a particular forum emailed to you, click the Subscribe to This Forum icon by the forum name in the forum listing.

For more information about how to use the Wrox P2P, be sure to read the P2P FAQs for answers to questions about how the forum software works as well as many common questions specific to P2P and Wrox books. To read the FAQs, click the FAQ link on any P2P page.