Muutke küpsiste eelistusi

Exam Ref 70-483 Programming in C# 2nd edition [Pehme köide]

  • Formaat: Paperback / softback, 432 pages, kõrgus x laius x paksus: 229x188x23 mm, kaal: 660 g
  • Sari: Exam Ref
  • Ilmumisaeg: 11-Oct-2018
  • Kirjastus: Microsoft Press
  • ISBN-10: 1509306986
  • ISBN-13: 9781509306985
  • Formaat: Paperback / softback, 432 pages, kõrgus x laius x paksus: 229x188x23 mm, kaal: 660 g
  • Sari: Exam Ref
  • Ilmumisaeg: 11-Oct-2018
  • Kirjastus: Microsoft Press
  • ISBN-10: 1509306986
  • ISBN-13: 9781509306985

Prepare for Microsoft Exam 70-483, and demonstrate your real-world mastery of skills needed to build modern C# applications. Designed for experienced programmers ready to advance their status, this Exam Ref focuses on the critical-thinking and decision-making acumen needed for success at the MCSA level. The new Second Edition, now authored by Microsoft MVP and best-selling author Rob Miles, reflects all updated exam topics released by Microsoft through mid-2017. It covers expertise measured by these objectives:

  • Manage program flow
  • Create and use types
  • Debug applications and implement security
  • Implement data access

Microsoft Exam Ref publications stand apart from third-party study guides because they:

  • Provide guidance from Microsoft, the creator of Microsoft certification exams
  • Target IT professional-level exam candidates with content focused on their needs, not "one-size-fits-all content
  • Streamline study by organizing material according to the exam’s objective domain (OD), covering one functional group and its objectives in each chapter
  • Feature Thought Experiments to guide candidates through a set of "what if?" scenarios, and prepare them more effectively for Pro-level style exam questions
  • Explore big picture thinking around the planning and design aspects of the IT pro’s job role

See full details about Exam 70-483 at: microsoft.com/learning

Introduction xv
Organization of this book
xv
Microsoft certifications
xvi
Quick access to online references
xvi
Errata, updates, & book support
xvi
Stay in touch
xvii
Preparing for the exam
xix
Chapter 1 Manage program flow 1(94)
Skill 1.1 Implement multithreading and asynchronous processing
2(32)
The Task Parallel library
3(3)
Parallel LINQ
6(3)
Tasks
9(3)
Continuation Tasks
12(3)
Threads and ThreadPool
15(8)
Tasks and the User Interface
23(2)
Using async and await
25(4)
Using concurrent collections
29(5)
Skill 1.2 Manage multithreading
34(14)
Resource synchronization
34(3)
Implementing locking
37(7)
Cancelling a long-running task
44(3)
Implementing thread-safe methods
47(1)
Skill 1.3 Implement program flow
48(12)
Iterating across collections
49(5)
Program decisions
54(5)
Evaluating expressions
59(1)
Skill 1.4 Create and implement events and callbacks
60(13)
Event handlers
60(3)
Unsubscribing from a delegate
63(1)
Using events
64(1)
Create events with built-in delegate types
64(4)
Create delegates
68(2)
Use lambda expressions (anonymous methods)
70(2)
Anonymous methods
72(1)
Skill 1.5 Implement exception handling
73(10)
Exception types
73(1)
The try-catch construction
74(2)
Using the base class of an exception
76(1)
Implement try-catch-finally blocks
77(1)
Throwing exceptions
78(1)
Rethrowing an exception
79(1)
Creating custom exceptions
80(1)
Handling inner exceptions
81(1)
Handling aggregate exceptions
82(1)
Exceptions as part of managed error handing
83(1)
Thought experiments
83(3)
1 Using multiple tasks
83(1)
2 Managing multithreading
84(1)
3 Program flow
84(1)
4 Events and callbacks
85(1)
5 Exceptions
85(1)
Thought experiment answers
86(4)
1 Using multiple tasks
86(1)
2 Managing multithreading
87(1)
3 Program flow
88(1)
4 Events and callbacks
89(1)
5 Exceptions
90(1)
Chapter summary
90(5)
Chapter 2 Create and use types 95(116)
Skill 2.1 Create types
95(22)
Value and reference types
96(3)
Creating value types
99(3)
Creating reference types
102(15)
Skill 2.2 Consume types
117(11)
Boxing and unboxing
118(2)
Cast types
120(8)
Skill 2.3 Enforce encapsulation
128(10)
Access modifiers
129(1)
Enforce encapsulation by using properties
130(2)
Enforce encapsulation by using accessory
132(3)
Enforce encapsulation by using explicit interface implementation
135(3)
Skill 2.4 Create and implement a class hierarchy
138(21)
Design and implement an interface
138(4)
Inherit from a base class
142(9)
Create and implement classes based on the IComparable, IEnumerable, IDisposable, and IUnknown interfaces
151(8)
Skill 2.5 Find, execute, and create types at runtime by using reflection
159(16)
Create and apply attributes
159(5)
Read attributes
164(1)
Using reflection
164(4)
Generate code at runtime by using CodeDOM and Lambda expressions
168(4)
Use types from the System.Reflection namespace
172(3)
Skill 2.6 Manage the object life cycle
175(8)
Garbage collection in .NET
176(3)
Manage unmanaged resources
179(1)
Implement IDisposable, including interaction with finalization
180(2)
Manage IDisposable by using the Using statement
182(1)
Manage finalization and garbage collection
182(1)
Skill 2.7 Manipulate strings
183(10)
The string type
183(2)
Manipulate strings by using the StringBuilder, StringWriter, and StringReader classes
185(2)
Search strings
187(2)
Enumerate string methods
189(1)
Format strings
189(3)
Use string interpolation
192(1)
Thought experiments
193(4)
1 Creating types
193(1)
2 Consuming types
193(1)
3 Enforce encapsulation
194(1)
4 Create and implement a class hierarchy
194(1)
5 Find, execute, and create types at runtime by using reflection
195(1)
6 Manage the object life cycle
196(1)
7 Manipulate strings
196(1)
Thought experiment answers
197(8)
1 Creating types
197(2)
2 Consuming types
199(1)
3 Enforce encapsulation
200(1)
4 Create and implement a class hierarchy
200(2)
5 Find, execute, and create types at runtime by using reflection
202(1)
6 Manage the object life cycle
203(1)
7 Manipulate strings
204(1)
Chapter summary
205(6)
Chapter 3 Debug applications and implement security 211(104)
Skill 3.1 Validate application input
212(24)
Using JSON
212(6)
Validate JSON data
218(1)
Choose the appropriate data collection type
219(2)
Use the Entity Framework to design your data storage
221(7)
Manage data integrity
228(3)
Evaluate a regular expression to validate the input format
231(3)
Use built-in functions to validate data type and content
234(2)
Skill 3.2 Perform symmetric and asymmetric encryption
236(18)
Cryptography and cryptoanalysis
237(1)
Symmetric and asymmetric encryption
237(2)
Data encryption using AES symmetric encryption
239(3)
Encrypting data using other symmetric standards
242(2)
Implementing public and private key management
244(3)
Digital signatures and certificates
247(2)
Implement the System.Security namespace
249(1)
Data integrity by hashing data
250(3)
Encrypting streams
253(1)
Skill 3.3 Manage assemblies
254(14)
Version assemblies
257(3)
Sign assemblies using strong names
260(3)
The Global Assembly Cache (GAC)
263(1)
Implement side-by-side hosting
264(1)
Put an assembly in the global assembly cache
265(1)
Create a WinMD assembly
265(3)
Skill 3.4 Debug an application
268(14)
Create and manage preprocessor compiler directives
268(8)
Choose an appropriate build configuration
276(3)
Manage programming program database
files and (debug symbols)
279(3)
Skill 3.5 Implement diagnostics in an application
282(16)
Implement logging and tracing
282(6)
Profiling applications
288(3)
Create and monitor performance counters
291(4)
Write to the event log
295(3)
Thought experiments
298(3)
1 Validate application input
298(1)
2 Perform symmetric and asymmetric encryption
299(1)
3 Manage assemblies
300(1)
4 Debug an application
300(1)
5 Implement diagnostics in an application
301(1)
Thought experiment answers
301(7)
1 Validate application input
301(2)
2 Perform symmetric and asymmetric encryption
303(2)
3 Manage assemblies
305(1)
4 Debug an application
306(1)
5 Implement diagnostics in an application
307(1)
Chapter summary
308(7)
Chapter 4 Implement data access 315(84)
Skill 4.1 Perform I/O operations
315(17)
Read and write files and streams
316(5)
Files storage
321(6)
Read and write from the network by using classes in the System.Net namespace
327(3)
Implement asynchronous I/O operations
330(2)
Skill 4.2 Consume data
332(18)
Retrieve data from a database
332(6)
Update data in a database
338(3)
Consume JSON and XML data
341(4)
Retrieve data by using Windows Communication Foundation (WCF)
345(5)
Skill 4.3 Query and manipulate data and objects by using LINQ
350(15)
Sample application
350(9)
Create method-based LINQ queries
359(1)
Query data by using query comprehension syntax
360(1)
Select data by using anonymous types
361(1)
Force execution of a query
362(1)
Read, filter, create, and modify data structures by using LINQ to XML
363(2)
Skill 4.4 Serialize and deserialize data by using binary serialization, custom serialization, XML Serializer, JSON Serializer, and Data Contract Serializer
365(8)
Sample data
366(1)
Use binary serialization
367(1)
Use custom serialization
368(2)
Manage versions with binary serialization
370(1)
Use XML serializer
370(2)
Use JSON Serializer
372(1)
Use Data Contract Serializer
372(1)
Skill 4.5 Store data in and retrieve data from collections
373(12)
Store and retrieve data by using dictionaries, arrays, lists, sets, and queues
374(6)
Choose a collection type
380(1)
Initialize a collection
380(1)
Add and remove items from a collection
381(1)
Use typed vs. non-typed collections
382(1)
Implement custom collections
383(1)
Implement collection interfaces
384(1)
Thought experiments
385(3)
1 Perform I/O operations
385(1)
2 Consume data
386(1)
3 Query and manipulate data and objects by using LINQ
386(1)
4 Serialize and deserialize data
387(1)
5 Store data in and retrieve data from collections
387(1)
Thought experiment answers
388(6)
1 Perform I/O operations
388(2)
2 Consume data
390(1)
3 Query and manipulate data and objects by using LINQ
391(1)
4 Serialize and deserialize data
392(1)
5 Store data in and retrieve data from collections
393(1)
Chapter summary
394(5)
Index 399
Rob Miles has taught programming for over 25 years. An expert on Visual C# and a Microsoft MVP for Device Application Development, he enjoys inspiring new and experienced programmers. He writes his own games, programs, and poetry, and has consulted on many commercial software projects. He is author of the Microsoft Press books Begin to Code with C# and Begin to Code with Python.