MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Introduction to Async and Parallel Programming in .NET 4

Course Summary

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 introduct


  • +

    Course Syllabus

    ● Tasks and Task-based Programming
        ◦ Introductions and Agenda
        ◦ Motivation: Responsiveness and Performance
        ◦ Task-based model --- what's a task?
        ◦ Creating a task
        ◦ Execution model
        ◦ Demo 1: programming for responsiveness
        ◦ Demo 1: adding tasks
        ◦ Demo 1: why did it crash?
        ◦ Demo 1: first solution attempt
        ◦ Demo 1: correct solution
        ◦ Demo 1: summary
        ◦ Creating tasks more efficiently
        ◦ Demo 2: programming for performance
        ◦ Demo 2: back in Visual Studio
        ◦ Demo 2: shared variables
        ◦ Demo 2: verifying correctness
        ◦ Language support: lambda expressions
        ◦ Implementation of lambdas
        ◦ Language support: closures
        ◦ Closures --- pass by reference!
        ◦ Implementation of closures
        ◦ Demo 3: reverse-engineer implementation
        ◦ Code vs. Facade tasks
        ◦ Summary
        ◦ References
    ● Working with Tasks: Creating, Waiting, and Harvesting Results
        ◦ Introductions and Agenda
        ◦ Technology Layers in .NET 4
        ◦ Review: What's a Task, Code vs. Facade Tasks
        ◦ Demo 1: Stock History App
        ◦ Demo 1: App Overview
        ◦ Demo 1: Creating Code Tasks
        ◦ Demo 1: Creating Facade Tasks
        ◦ Review Complete, Agenda for Rest of Module
        ◦ Waiting for a Task to Finish
        ◦ Demo 2: Waiting for Tasks to Finish
        ◦ Harvesting Task Results --- the Result Property
        ◦ Demo 3: Harvesting Task Results
        ◦ Waiting on Multiple Tasks: WaitAll, WaitAny
        ◦ WaitAllOneByOne Pattern --- Overlap Waiting with Result Processing
        ◦ Demo 4: WaitAll
        ◦ Demo 4: WaitAny
        ◦ Task Composition --- .ContinueWith
        ◦ An Example of using .ContinueWith
        ◦ Many-to-one Task Composition: .ContinueWhenAll, .ContinueWhenAny
        ◦ Demo 5: .ContinueWith
        ◦ Summary and References
    ● Coordinating, Canceling, and Exception Handling of Tasks
        ◦ Introductions and Agenda
        ◦ Exception Handling Basics
        ◦ Exception Handling Design
        ◦ TaskUnobservedException Event: example
        ◦ Demo 1: Exception Handling
        ◦ Task Cancellation
        ◦ Demo 2: Task Cancellation
        ◦ Task Priorities? Parent-Child Tasks?
        ◦ Passing Data to Tasks: the wrong way...
        ◦ Passing Data to Tasks: the correct way!
        ◦ Demo 3: Passing Data and Outputting Results
        ◦ Summary and References

     


Course Fee:
USD 29

Course Type:

Self-Study

Course Status:

Active

Workload:

1 - 4 hours / week

This course is listed under Development & Implementations Community

Related Posts:

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top