40,99 €
A true professional's guide to C# 6 Professional C# 6 and .NET Core 1.0 provides complete coverage of the latest updates, features, and capabilities, giving you everything you need for C#. Get expert instruction on the latest changes to Visual Studio 2015, Windows Runtime, ADO.NET, ASP.NET, Windows Store Apps, Windows Workflow Foundation, and more, with clear explanations, no-nonsense pacing, and valuable expert insight. This incredibly useful guide serves as both tutorial and desk reference, providing a professional-level review of C# architecture and its application in a number of areas. You'll gain a solid background in managed code and .NET constructs within the context of the 2015 release, so you can get acclimated quickly and get back to work. The new updates can actively streamline your workflow, with major changes including reimagined C# refactoring support, a new .NET Web app stack, and the .NET compiler platform that makes C# and Visual Basic compilers available as APIs. This book walks you through the changes with a comprehensive C# review. * Explore the new Visual Studio templates for ASP.NET Core 1.0, Web Forms, and MVC * Learn about the networking switch to HttpClient and ASP.NET Web API's replacement of WCF Data Services * Work with the latest updates to the event log, Windows Runtime 2.0, and Windows 8.1 deployment and localization * Dig deep into the new .NET 5.0 GC behaviors and the Migrations addition to ADO.NET Microsoft has stepped up both the cadence and magnitude of their software releases. Professional C# 6 and .NET Core 1.0 shows you everything you need to know about working with C# in a real-world context.
Sie lesen das E-Book in den Legimi-Apps auf:
Seitenzahl: 2164
Veröffentlichungsjahr: 2016
Christian Nagel
Professional C# 6 and .NET Core 1.0
Published by John Wiley & Sons, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com
Copyright © 2016 by John Wiley & Sons, Inc., Indianapolis, Indiana
Published simultaneously in Canada
ISBN: 978-1-119-09660-3
ISBN: 978-1-119-09671-9 (ebk)
ISBN: 978-1-119-09663-4 (ebk)
Manufactured in the United States of America
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permissions.
Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Web site may provide or recommendations it may make. Further, readers should be aware that Internet Web sites listed in this work may have changed or disappeared between when this work was written and when it is read.
For general information on our other products and services please contact our Customer Care Department within the United States at (877) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002.
Wiley publishes in a variety of print and electronic formats and by print-on-demand. Some material included with standard print versions of this book may not be included in e-books or in print-on-demand. If this book refers to media such as a CD or DVD that is not included in the version you purchased, you may download this material at http://booksupport.wiley.com. For more information about Wiley products, visit www.wiley.com.
Library of Congress Control Number: 2016932153
Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Programmer to Programmer, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. All other trademarks are the property of their respective owners. John Wiley & Sons, Inc., is not associated with any product or vendor mentioned in this book.
This book is dedicated to my family—Angela, Stephanie, and Matthias—I love you all!
CHRISTIAN NAGEL is Microsoft MVP for Visual Studio and Development Technologies, and has been Microsoft Regional Director for more than 15 years. Christian is an associate of thinktecture and founder of CN innovation, where he offers training and consulting on how to develop solutions using the Microsoft platform. He draws on more than 25 years of software development experience.
Christian started his computing career with PDP 11 and VAX/VMS systems at Digital Equipment Corporation, covering a variety of languages and platforms. Since 2000, when .NET was just a technology preview, he has been working with various technologies to build .NET solutions. Currently, he mainly coaches people on development of Universal Windows Platform apps and ASP.NET MVC, using several Microsoft Azure service offerings.
Even after many years in software development, Christian still loves learning and using new technologies and teaching others how to use the new technologies in various forms. Using his profound knowledge of Microsoft technologies, he has written numerous books, and is certified as Microsoft Certified Trainer and Certified Solution Developer. Christian speaks at international conferences such as TechEd, BASTA!, and TechDays. He founded INETA Europe to support .NET user groups. You can contact Christian via his website www.cninnovation.com and follow his tweets at @christiannagel.
ISTVÁN NOVÁK is an associate and the chief technology consultant with SoftwArt, a small Hungarian IT consulting company. He works as a software architect and community evangelist. In the last 25 years, he has participated in more than 50 enterprise software development projects. In 2002, he coauthored the first Hungarian book about .NET development. In 2007, he was awarded the Microsoft Most Valuable Professional (MVP) title, and in 2011 he became a Microsoft Regional Director. István coauthored Visual Studio 2010 and .NET 4 Six-in-One (Wiley, 2010) and Beginning Windows 8 Application Development (Wiley, 2012), and he authored Beginning Visual Studio LightSwitch Development (Wiley, 2011). István holds master’s degree from the Technical University of Budapest, Hungary and also has a doctoral degree in software technology. He lives in Dunakeszi, Hungary, with his wife and two daughters. He is a passionate scuba diver. You may have a good chance of meeting him underwater in the Red Sea, any season of the year.
SENIOR ACQUISITIONS EDITORKen Brown
PROJECT EDITORCharlotte Kughen
TECHNICAL EDITORIstván Novák
PRODUCTION EDITORDassi Zeidel
MANAGER OF CONTENT DEVELOPMENT & ASSEMBLYMary Beth Wakefield
PRODUCTION MANAGERKathleen Wisor
MARKETING DIRECTORDavid Mayhew
MARKETING MANAGERCarrie Sherrill
PROFESSIONAL TECHNOLOGY & STRATEGY DIRECTORBarry Pruett
BUSINESS MANAGERAmy Knies
ASSOCIATE PUBLISHERJim Minatel
PROJECT COORDINATOR, COVERPatrick Redmond
PROOFREADERAmy J. Schneider
INDEXERJohn Sleeva
COVER DESIGNERWiley
COVER IMAGE© Digital Storn/Shutterstock
I WANT TO THANK Charlotte Kughen, who made my text so much more readable. Often I was working late at night writing while .NET Core was continuously evolving. Charlotte was of enormous help to change my ideas into great readable text. I’m almost sure that Charlotte now knows a lot more about programming than she would like to. Special thanks also goes to István Novák, who has authored several great books. Despite all the issues we had with the fast-evolving .NET Core and the interim builds I was using while working on the book, István challenged me to enhance the code samples that allow you—the reader—to better follow the flow. Thank you, Charlotte and István—you’ve been of great help for the quality of this book.
I also would like to thank Kenyon Brown and Jim Minatel and everyone else at Wiley who helped to get edition 10 of this great book to be published. I also want to thank my wife and children for supporting my writing. You understood and helped with the time I was working on the book, including evenings, nights, and weekends. Angela, Stephanie, and Matthias—you are my loved ones. This would not have been possible without you.
Introduction
The Significance of .NET Core
The Significance of C#
What’s New in C# 6
What’s New with the Universal Windows Platform
What You Need to Write and Run C# Code
What This Book Covers
Conventions
Source Code
Errata
p2p.wrox.com
Part I: The C# Language
Chapter 1: .NET Application Architectures
Choosing Your Technologies
Reviewing .NET History
.NET 2015
Hello, World
Compiling with .NET 4.6
Compiling with .NET Core CLI
Application Types and Technologies
Developer Tools
Summary
Chapter 2: Core C#
Fundamentals of C#
Creating Hello, World! with Visual Studio
Working with Variables
Using Predefined Data Types
Controlling Program Flow
Working with Enumerations
Getting Organized with Namespaces
Understanding the Main Method
Using Comments
Understanding C# Preprocessor Directives
C# Programming Guidelines
Summary
Chapter 3: Objects and Types
Creating and Using Classes
Classes and Structs
Classes
Anonymous Types
Structs
Passing Parameters by Value and by Reference
Nullable Types
Enumerations
Partial Classes
Extension Methods
The Object Class
Summary
Chapter 4: Inheritance
Inheritance
Types of Inheritance
Implementation Inheritance
Modifiers
Interfaces
is and as Operators
Summary
Chapter 5: Managed and Unmanaged Resources
Resources
Memory Management Under the Hood
Strong and Weak References
Working with Unmanaged Resources
Unsafe Code
Platform Invoke
Summary
Chapter 6: Generics
Generics Overview
Creating Generic Classes
Generics Features
Generic Interfaces
Generic Structs
Generic Methods
Summary
Chapter 7: Arrays and Tuples
Multiple Objects of the Same and Different Types
Simple Arrays
Multidimensional Arrays
Jagged Arrays
Array Class
Arrays as Parameters
Enumerators
Tuples
Structural Comparison
Summary
Chapter 8: Operators and Casts
Operators and Casts
Operators
Type Safety
Comparing Objects for Equality
Operator Overloading
Implementing Custom Index Operators
User-Defined Casts
Summary
Chapter 9: Delegates, Lambdas, and Events
Referencing Methods
Delegates
Lambda Expressions
Events
Summary
Chapter 10: Strings and Regular Expressions
Examining System.String
String Formats
Regular Expressions
Summary
Chapter 11: Collections
Overview
Collection Interfaces and Types
Lists
Queues
Stacks
Linked Lists
Sorted List
Dictionaries
Sets
Performance
Summary
Chapter 12: Special Collections
Overview
Working with Bits
Observable Collections
Immutable Collections
Concurrent Collections
Summary
Chapter 13: Language Integrated Query
LINQ Overview
Standard Query Operators
Parallel LINQ
Expression Trees
LINQ Providers
Summary
Chapter 14: Errors and Exceptions
Introduction
Exception Classes
Catching Exceptions
User-Defined Exception Classes
Caller Information
Summary
Chapter 15: Asynchronous Programming
Why Asynchronous Programming Is Important
Asynchronous Patterns
Foundation of Asynchronous Programming
Error Handling
Cancellation
Summary
Chapter 16: Reflection, Metadata, and Dynamic Programming
Inspecting Code at RunTime and Dynamic Programming
Custom Attributes
Using Reflection
Using Dynamic Language Extensions for Reflection
The Dynamic Type
Dynamic Language Runtime
Hosting the DLR ScriptRuntime
DynamicObject and ExpandoObject
Summary
Part II: .NET Core and Windows Runtime
Chapter 17: Visual Studio 2015
Working with Visual Studio 2015
Creating a Project
Exploring and Coding a Project
Building a Project
Debugging Your Code
Refactoring Tools
Architecture Tools
Analyzing Applications
Summary
Chapter 18: .NET Compiler Platform
Introduction
Compiler Pipeline
Syntax Analysis
Semantics Analysis
Code Transformation
Visual Studio Code Refactoring
Summary
Chapter 19: Testing
Overview
Unit Testing with MSTest
Unit Testing with xUnit
UI Testing
Web Testing
Summary
Chapter 20: Diagnostics and Application Insights
Diagnostics Overview
Tracing with EventSource
Creating Custom Listeners
Working with Application Insights
Summary
Chapter 21: Tasks and Parallel Programming
Overview
Parallel Class
Tasks
Cancellation Framework
Data Flow
Summary
Chapter 22: Task Synchronization
Overview
Threading Issues
The lock Statement and Thread Safety
Interlocked
Monitor
SpinLock
WaitHandle
Mutex
Semaphore
Events
Barrier
ReaderWriterLockSlim
Timers
Summary
Chapter 23: Files and Streams
Introduction
Managing the File System
Enumerating Files
Working with Streams
Using Readers and Writers
Compressing Files
Watching File Changes
Working with Memory Mapped Files
Communicating with Pipes
Using Files and Streams with the Windows Runtime
Summary
Chapter 24: Security
Introduction
Verifying User Information
Encrypting Data
Access Control to Resources
Distributing Code Using Certificates
Summary
Chapter 25: Networking
Networking
The HttpClient Class
Working with the WebListener Class
Working with Utility Classes
Using TCP
Using UDP
Using Sockets
Summary
Chapter 26: Composition
Introduction
Architecture of the Composition Library
Defining Contracts
Exporting Parts
Importing Parts
Summary
Chapter 27: XML and JSON
Data Formats
Reading and Writing Streamed XML
Using the DOM in .NET
Using XPathNavigator
Serializing Objects in XML
LINQ to XML
JSON
Summary
Chapter 28: Localization
Global Markets
Namespace System.Globalization
Resources
Localization with WPF
Localization with ASP.NET Core
Localization with the Universal Windows Platform
Creating Custom Cultures
Summary
Part III: Windows Apps
Chapter 29: Core XAML
Uses of XAML
XAML Foundation
Dependency Properties
Routed Events
Attached Properties
Markup Extensions
Summary
Chapter 30: Styling XAML Apps
Styling
Shapes
Geometry
Transformation
Brushes
Styles and Resources
Templates
Animations
Visual State Manager
Summary
Chapter 31: Patterns with XAML Apps
Why MVVM?
Defining the MVVM Pattern
Sharing Code
Sample Solution
Models
View Models
Views
Messaging Using Events
IoC Container
Using a Framework
Summary
Chapter 32: Windows Apps: User Interfaces
Overview
Navigation
Layout
Commands
Compiled Data Binding
Controls
Summary
Chapter 33: Advanced Windows Apps
Overview
App Lifetime
Application Execution States
Navigation State
Sharing Data
App Services
Camera
Geolocation and MapControl
Sensors
Summary
Chapter 34: Windows Desktop Applications with WPF
Introduction
Controls
Layout
Triggers
Menu and Ribbon Controls
Commanding
Data Binding
TreeView
DataGrid
Summary
Chapter 35: Creating Documents with WPF
Introduction
Text Elements
Flow Documents
Fixed Documents
XPS Documents
Printing
Summary
Chapter 36: Deploying Windows Apps
Deployment as Part of the Application Life Cycle
Planning for Deployment
Traditional Deployment
ClickOnce
UWP Apps
Summary
Part IV: Web Applications and Services
Chapter 37: ADO.NET
ADO.NET Overview
Using Database Connections
Commands
Asynchronous Data Access
Transactions
Summary
Chapter 38: Entity Framework Core
History of Entity Framework
Introducing Entity Framework
Using Dependency Injection
Creating a Model
Working with Object State
Conflict Handling
Using Transactions
Summary
Chapter 39: Windows Services
What Is a Windows Service?
Windows Services Architecture
Creating a Windows Service Program
Monitoring and Controlling Windows Services
Troubleshooting and Event Logging
Summary
Chapter 40: ASP.NET Core
ASP.NET Core 1.0
Web Technologies
ASP.NET Web Project
Startup
Adding Static Content
Request and Response
Dependency Injection
Routing Using Map
Using Middleware
Session State
Configuring ASP.NET
Summary
Chapter 41: ASP.NET MVC
Setting Up Services for ASP.NET MVC 6
Defining Routes
Creating Controllers
Creating Views
Submitting Data from the Client
Working with HTML Helpers
Getting to Know Tag Helpers
Implementing Action Filters
Creating a Data-Driven Application
Implementing Authentication and Authorization
Summary
Chapter 42: ASP.NET Web API
Overview
Creating Services
Creating an Async Service
Creating a .NET Client
Writing to the Database
Creating Metadata
Creating and Using OData Services
Summary
Chapter 43: WebHooks and SignalR
Overview
Architecture of SignalR
A Simple Chat Using SignalR
Grouping Connections
Architecture of WebHooks
Creating Dropbox and GitHub Receivers
Summary
Chapter 44: Windows Communication Foundation
WCF Overview
Creating a Simple Service and Client
Contracts
Service Behaviors
Binding
Hosting
Clients
Duplex Communication
Routing
Summary
Chapter 45: Deploying Websites and Services
Deploying Web Applications
Preparing for Deployment
Deploying to Internet Information Server
Deploying to Microsoft Azure
Deploying to Docker
Summary
Advert
EULA
Chapter 1
Figure 1.1
Figure 1.2
Figure 1.3
Figure 1.4
Figure 1.5
Chapter 2
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
Chapter 5
Figure 5.1
Figure 5.2
Figure 5.3
Figure 5.4
Figure 5.5
Figure 5.6
Figure 5.7
Chapter 7
Figure 7.1
Figure 7.2
Figure 7.3
Figure 7.4
Figure 7.5
Figure 7.6
Figure 7.7
Chapter 8
Figure 8.1
Chapter 11
Figure 11.1
Figure 11.2
Figure 11.3
Figure 11.4
Figure 11.5
Chapter 12
Figure 12.1
Figure 12.2
Chapter 14
Figure 14.1
Chapter 15
Figure 15.1
Figure 15.2
Chapter 16
Figure 16.1
Figure 16.2
Figure 16.3
Chapter 17
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
Figure 17.19
Figure 17.20
Figure 17.21
Figure 17.22
Figure 17.23
Figure 17.24
Figure 17.25
Figure 17.26
Figure 17.27
Figure 17.28
Figure 17.29
Figure 17.30
Figure 17.31
Figure 17.32
Figure 17.33
Figure 17.34
Figure 17.35
Figure 17.36
Figure 17.37
Figure 17.38
Figure 17.39
Figure 17.40
Figure 17.41
Figure 17.42
Figure 17.43
Figure 17.44
Figure 17.45
Figure 17.46
Figure 17.47
Figure 17.48
Figure 17.49
Figure 17.50
Figure 17.51
Figure 17.52
Figure 17.53
Figure 17.54
Figure 17.55
Figure 17.56
Figure 17.57
Figure 17.58
Figure 17.59
Chapter 18
Figure 18.1
Figure 18.2
Figure 18.3
Figure 18.4
Figure 18.5
Figure 18.6
Figure 18.7
Figure 18.8
Chapter 19
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
Figure 19.18
Chapter 20
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
Chapter 22
Figure 22.1
Figure 22.2
Chapter 23
Figure 23.1
Figure 23.2
Figure 23.3
Figure 23.4
Chapter 24
Figure 24.1
Figure 24.2
Chapter 25
Figure 25.1
Figure 25.2
Figure 25.3
Figure 25.4
Figure 25.5
Chapter 26
Figure 26.1
Figure 26.2
Figure 26.3
Figure 26.4
Figure 26.5
Figure 26.6
Figure 26.7
Figure 26.8
Chapter 28
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
Figure 28.11
Figure 28.12
Chapter 29
Figure 29.1
Chapter 30
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
Figure 30.17
Figure 30.18
Figure 30.19
Figure 30.20
Figure 30.21
Figure 30.22
Figure 30.23
Figure 30.24
Figure 30.25
Figure 30.26
Figure 30.27
Figure 30.28
Figure 30.29
Figure 30.30
Figure 30.31
Figure 30.32
Chapter 31
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
Chapter 32
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
Chapter 33
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
Figure 33.12
Figure 33.13
Figure 33.14
Figure 33.15
Figure 33.16
Figure 33.17
Chapter 34
Figure 34.1
Figure 34.2
Figure 34.3
Figure 34.4
Figure 34.5
Figure 34.6
Figure 34.7
Figure 34.8
Figure 34.9
Figure 34.10
Figure 34.11
Figure 34.12
Figure 34.13
Figure 34.14
Figure 34.15
Figure 34.16
Figure 34.17
Figure 34.18
Figure 34.19
Figure 34.20
Figure 34.21
Figure 34.22
Figure 34.23
Figure 34.24
Figure 34.25
Figure 34.26
Figure 34.27
Figure 34.28
Figure 34.29
Figure 34.30
Chapter 35
Figure 35.1
Figure 35.2
Figure 35.3
Figure 35.3
Figure 35.4
Figure 35.5
Figure 35.6
Figure 35.7
Figure 35.8
Figure 35.9
Figure 35.10
Figure 35.11
Figure 35.12
Figure 35.13
Figure 35.14
Chapter 36
Figure 36.1
Figure 36.2
Figure 36.3
Figure 36.4
Figure 36.5
Figure 36.6
Figure 36.7
Figure 36.8
Figure 36.9
Figure 36.10
Figure 36.11
Figure 36.12
Figure 36.13
Chapter 37
Figure 37.1
Figure 37.2
Chapter 38
Figure 38.1
Chapter 39
Figure 39.1
Figure 39.2
Figure 39.3
Figure 39.4
Figure 39.5
Figure 39.6
Figure 39.7
Figure 39.8
Figure 39.9
Figure 39.10
Figure 39.11
Figure 39.12
Figure 39.13
Figure 39.14
Figure 39.15
Figure 39.16
Chapter 40
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
Chapter 41
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
Chapter 42
Figure 42.1
Figure 42.2
Figure 42.3
Figure 42.4
Chapter 43
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
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
Chapter 45
Figure 45.1
Figure 45.2
Figure 45.3
Figure 45.4
Figure 45.5
Figure 45.6
Figure 45.7
Figure 45.8
Figure 45.9
Figure 45.10
Figure 45.11
Figure 45.12
Figure 45.13
Figure 45.14
Figure 45.15
Figure 45.16
Figure 45.17
Figure 45.18
Cover
Table of Contents
1
ix
xi
xiii
xv
li
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
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
116
117
118
119
120
121
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
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
234
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
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
287
288
289
290
291
292
293
294
295
296
297
298
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
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
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
444
445
446
447
448
449
450
451
453
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
477
478
479
480
481
482
483
484
485
486
487
488
489
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
507
508
509
511
512
513
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
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
569
570
571
572
573
574
575
576
577
578
580
581
582
583
584
585
586
587
588
589
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
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
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
681
682
683
684
685
686
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
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
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
906
907
908
909
910
911
912
913
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
951
952
953
954
955
956
957
958
959
960
962
963
964
965
966
967
968
969
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
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
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1141
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
1176
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
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1465
Tausende von E-Books und Hörbücher
Ihre Zahl wächst ständig und Sie haben eine Fixpreisgarantie.
Sie haben über uns geschrieben: