pluralsight - Introduction to Async and Parallel Programming in .NET 4
English | WMV | 1024x768 | VC-1 47.5 Kbps 15.000 fps | WMA 128 Kbps 44.1 khz | 2 channels | 386 MB
Genre: Video Training
English | WMV | 1024x768 | VC-1 47.5 Kbps 15.000 fps | WMA 128 Kbps 44.1 khz | 2 channels | 386 MB
Genre: Video Training
Need to make your .NET applications more responsive? Run faster? On today's multicore hardware, async and parallel programming may be the answer. This course (part 1 of 2) overviews the new Task Parallel Library (TPL) in .NET 4, starting with an introduction to its Task-oriented programming model and working through various techniques for effective use of the TPL.
Tasks and Task-based Programming 00:57:47
Introductions and Agenda 01:04
Motivation: Responsiveness and Performance 02:57
Task-based model –- what's a task? 00:30
Creating a task 02:12
Execution model 03:16
Demo 1: programming for responsiveness 02:49
Demo 1: adding tasks 03:49
Demo 1: why did it crash? 01:11
Demo 1: first solution attempt 01:40
Demo 1: correct solution 05:03
Demo 1: summary 00:53
Creating tasks more efficiently 00:54
Demo 2: programming for performance 00:27
Demo 2: back in Visual Studio 02:23
Demo 2: shared variables 04:35
Demo 2: verifying correctness 03:06
Language support: lambda expressions 02:14
Implementation of lambdas 02:09
Language support: closures 01:47
Closures –- pass by reference! 02:50
Implementation of closures 03:47
Demo 3: reverse-engineer implementation 03:20
Code vs. Facade tasks 02:33
Summary 01:22
References 00:56
Working with Tasks: Creating, Waiting, and Harvesting Results 00:48:11
Introductions and Agenda 01:28
Technology Layers in .NET 4 01:11
Review: What's a Task, Code vs. Facade Tasks 02:12
Demo 1: Stock History App 00:27
Demo 1: App Overview 00:58
Demo 1: Creating Code Tasks 02:51
Demo 1: Creating Facade Tasks 04:10
Review Complete, Agenda for Rest of Module 00:24
Waiting for a Task to Finish 01:27
Demo 2: Waiting for Tasks to Finish 10:29
Harvesting Task Results –- the Result Property 01:16
Demo 3: Harvesting Task Results 04:34
Waiting on Multiple Tasks: WaitAll, WaitAny 02:05
WaitAllOneByOne Pattern –- Overlap Waiting with Result Processing 01:37
Demo 4: WaitAll 02:32
Demo 4: WaitAny 03:44
Task Composition –- .ContinueWith 01:31
An Example of using .ContinueWith 01:19
Many-to-one Task Composition: .ContinueWhenAll, .ContinueWhenAny 00:38
Demo 5: .ContinueWith 01:57
Summary and References 01:21
Coordinating, Canceling, and Exception Handling of Tasks 01:04:56
Introductions and Agenda 01:28
Exception Handling Basics 03:38
Exception Handling Design 03:53
TaskUnobservedException Event: example 02:11
Demo 1: Exception Handling 16:47
Task Cancellation 03:40
Demo 2: Task Cancellation 15:46
Task Priorities? Parent-Child Tasks? 01:30
Passing Data to Tasks: the wrong way… 02:10
Passing Data to Tasks: the correct way! 01:08
Demo 3: Passing Data and Outputting Results 11:30
Summary and References 01:15
Introductions and Agenda 01:04
Motivation: Responsiveness and Performance 02:57
Task-based model –- what's a task? 00:30
Creating a task 02:12
Execution model 03:16
Demo 1: programming for responsiveness 02:49
Demo 1: adding tasks 03:49
Demo 1: why did it crash? 01:11
Demo 1: first solution attempt 01:40
Demo 1: correct solution 05:03
Demo 1: summary 00:53
Creating tasks more efficiently 00:54
Demo 2: programming for performance 00:27
Demo 2: back in Visual Studio 02:23
Demo 2: shared variables 04:35
Demo 2: verifying correctness 03:06
Language support: lambda expressions 02:14
Implementation of lambdas 02:09
Language support: closures 01:47
Closures –- pass by reference! 02:50
Implementation of closures 03:47
Demo 3: reverse-engineer implementation 03:20
Code vs. Facade tasks 02:33
Summary 01:22
References 00:56
Working with Tasks: Creating, Waiting, and Harvesting Results 00:48:11
Introductions and Agenda 01:28
Technology Layers in .NET 4 01:11
Review: What's a Task, Code vs. Facade Tasks 02:12
Demo 1: Stock History App 00:27
Demo 1: App Overview 00:58
Demo 1: Creating Code Tasks 02:51
Demo 1: Creating Facade Tasks 04:10
Review Complete, Agenda for Rest of Module 00:24
Waiting for a Task to Finish 01:27
Demo 2: Waiting for Tasks to Finish 10:29
Harvesting Task Results –- the Result Property 01:16
Demo 3: Harvesting Task Results 04:34
Waiting on Multiple Tasks: WaitAll, WaitAny 02:05
WaitAllOneByOne Pattern –- Overlap Waiting with Result Processing 01:37
Demo 4: WaitAll 02:32
Demo 4: WaitAny 03:44
Task Composition –- .ContinueWith 01:31
An Example of using .ContinueWith 01:19
Many-to-one Task Composition: .ContinueWhenAll, .ContinueWhenAny 00:38
Demo 5: .ContinueWith 01:57
Summary and References 01:21
Coordinating, Canceling, and Exception Handling of Tasks 01:04:56
Introductions and Agenda 01:28
Exception Handling Basics 03:38
Exception Handling Design 03:53
TaskUnobservedException Event: example 02:11
Demo 1: Exception Handling 16:47
Task Cancellation 03:40
Demo 2: Task Cancellation 15:46
Task Priorities? Parent-Child Tasks? 01:30
Passing Data to Tasks: the wrong way… 02:10
Passing Data to Tasks: the correct way! 01:08
Demo 3: Passing Data and Outputting Results 11:30
Summary and References 01:15
General
Complete name : 1. Tasks and Task-based Programming\01. Introductions and Agenda.wmv
Format : Windows Media
File size : 1.66 MiB
Duration : 1mn 4s
Overall bit rate mode : Variable
Overall bit rate : 218 Kbps
Maximum Overall bit rate : 238 Kbps
Movie name : tpl-intro
Encoded date : UTC 2011-05-31 21:30:19.450
Video
ID : 2
Format : VC-1
Format profile : MP@HL
Codec ID : WMV3
Codec ID/Info : Windows Media Video 9
Codec ID/Hint : WMV3
Description of the codec : Windows Media Video 9
Duration : 1mn 4s
Bit rate mode : Variable
Bit rate : 47.5 Kbps
Width : 1 024 pixels
Height : 768 pixels
Display aspect ratio : 4:3
Frame rate : 15.000 fps
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.004
Stream size : 372 KiB (22%)
Language : English (US)
Audio
ID : 1
Format : WMA
Format version : Version 2
Codec ID : 161
Codec ID/Info : Windows Media Audio
Description of the codec : Windows Media Audio 9.2 - 128 kbps, 44 kHz, stereo 1-pass CBR
Duration : 1mn 4s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 1 002 KiB (59%)
Language : English (US)
Complete name : 1. Tasks and Task-based Programming\01. Introductions and Agenda.wmv
Format : Windows Media
File size : 1.66 MiB
Duration : 1mn 4s
Overall bit rate mode : Variable
Overall bit rate : 218 Kbps
Maximum Overall bit rate : 238 Kbps
Movie name : tpl-intro
Encoded date : UTC 2011-05-31 21:30:19.450
Video
ID : 2
Format : VC-1
Format profile : MP@HL
Codec ID : WMV3
Codec ID/Info : Windows Media Video 9
Codec ID/Hint : WMV3
Description of the codec : Windows Media Video 9
Duration : 1mn 4s
Bit rate mode : Variable
Bit rate : 47.5 Kbps
Width : 1 024 pixels
Height : 768 pixels
Display aspect ratio : 4:3
Frame rate : 15.000 fps
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.004
Stream size : 372 KiB (22%)
Language : English (US)
Audio
ID : 1
Format : WMA
Format version : Version 2
Codec ID : 161
Codec ID/Info : Windows Media Audio
Description of the codec : Windows Media Audio 9.2 - 128 kbps, 44 kHz, stereo 1-pass CBR
Duration : 1mn 4s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 1 002 KiB (59%)
Language : English (US)
Screenshots