Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS CompTIA Security+ Microsoft AZ-900
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Personal Development Mindfulness Personal Transformation Life Purpose Meditation CBT Emotional Intelligence
Web Development JavaScript React CSS Angular PHP Node.Js WordPress Vue JS
Google Flutter Android Development iOS Development React Native Swift Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
Microsoft Power BI SQL Tableau Business Analysis Data Modeling Business Intelligence MySQL Data Analysis Blockchain
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Business Plan Startup Online Business Freelancing Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee
Development Software Engineering Asynchronous Programming

Understand asynchronous programming with .Net and C#

Master the Thread API, the evolution to TPL with async and await, the use of parallel programming and Thread safety
Rating: 3.4 out of 53.4 (67 ratings)
966 students
Created by Timo H. | C# Development | .Net | DevOps
Last updated 7/2020
English
English [Auto]
30-Day Money-Back Guarantee

What you'll learn

  • Why is asynchronous programming needed in the first place
  • Asynchronous programming concepts
  • All asynchronous programming techniques in .Net.
  • Thread Safety and Coordination
  • Threads, Tasks and async & await
  • Parallel Programming Framework (Pfx)

Course content

6 sections • 50 lectures • 3h 36m total length

  • Preview06:03
  • Preview04:03
  • Basics of asynchronous programming
    2 questions
  • Preview05:42
  • Threads as asynchronous programming mechanism
    3 questions
  • Course Contents and How to work with the course
    03:06

  • Introduction to Threads
    06:31
  • Code for the chapter
    00:15
  • Preview08:17
  • Start a Thread
    2 questions
  • How to Stop a Thread
    04:00
  • Stop a Thread with Coordination
    04:12
  • Stop a Thread
    2 questions
  • Create Foreground and Background Threads
    03:27
  • Thread Coordination: Thread.Join
    05:14
  • Error and Exception Handling with Threads
    02:25
  • The Threadpool
    04:15
  • The Threadpool: Examples for Enqueuing work to the threadpool
    03:00
  • Summary of Thread API
    01:48
  • Quiz Threads
    4 questions
  • Learn to handle the Thread API
    1 question

  • Introduction to concepts of thread safety
    05:13
  • Code for the chapter
    00:04
  • Thread Safety
    2 questions
  • What does atomic mean in the context of thread safety?
    03:01
  • Exclusive Locking Mechanisms and atomic Operations
    04:49
  • .Net locking Workhorse: Monitor and lock
    09:27
  • Non-Exclusive Locking: The ReaderWriterLock(Slim)
    06:16
  • Non-Exclusive Locking: The Semaphore(Slim)
    05:25
  • Signaling between Threads with the Monitor
    06:32
  • Signaling with Events: ManualResetEvent & AutoResetEvent
    06:27
  • Concurrent Collections
    06:20
  • Summary of Thread Safety
    00:47
  • Learn to handle Thread Safety mechanisms
    1 question

  • Introduction to the TPL
    03:46
  • Preview02:51
  • Control Task behavior with the underlying Thread
    05:40
  • Tasks and data
    03:22
  • Create an I/O bound Tasks
    01:37
  • Error Handling with Tasks
    03:37
  • Task Relationships
    05:20
  • Cancellation
    04:19
  • Anything a Task: TaskCompletionSource
    04:50
  • async & await 1: make async code look like synchronous one
    03:37
  • async & await 2: All Method signatures
    05:32
  • Task Combinators
    03:40
  • Summary of the TPL
    01:09
  • All about TPL
    4 questions

  • Preview04:54
  • Simple parallelism: Parallel.Invoke
    03:45
  • For in Parallel: Parallel.For
    03:25
  • ForEach in Parallel: Parallel.ForEach
    05:13
  • Parallel Linq: PLINQ
    03:18
  • Summary for Parallel Programming
    00:58
  • Quiz on Parallel Programming
    2 questions

  • Preview04:33
  • Deadlock: an example
    05:12
  • Another Signaling construct: The Barrier class
    03:06
  • Basics: Delegates and Lambdas
    02:58
  • Make a Legacy (synchronous) API asynchronous
    03:01

Requirements

  • Knowledge in C# is helpful, any other Object oriented language will do
  • General understanding of programming concepts
  • Interest in deeper knowledge about asynchronous programming

Description

Have you ever had issues with a bug that resulted in an asynchronous programming wrong doing? Did your users report some unresponsive behavior of your application they did not want to deal with? Or does your boss want you to utilize the given hardware in the most efficient way possible?

If you had any of those or similar issues with asynchronous programming, this course will help you solve those issues. In other words this course will help you to handle multithreaded and concurrent scenarios in programming like  you always wanted to.

Besides looking at the underlying mechanisms, we will look at all the different techniques to utilize our freshly crafted knowledge.

This course not only gives you the well rounded background to understand what is going on with all that concurrency, parallelism and multi threading, but also hands over all the needed tools to you, that you will need to excel in this regard

It includes:

  • TPL with Tasks and async await keywords

  • The actual Thread API

  • Thread Safety with Locking, Non-exclusive locking and Concurrent Collections

  • Everything about how concurrency works under the hood

In this course you will also see examples to every of the above topics and this will guide you to become a master of asynchronous programming techniques with .Net.


So do not hesitate and enroll to:

  • Advance your career

  • Master one of the most needed skills of contemporary programming

If you still do not find any value here, you still have the 30 days refund.

Who this course is for:

  • .Net developers
  • Backend developers with .Net
  • C# Developers

Instructor

Timo H. | C# Development | .Net | DevOps
Freelancer & .Net Developer
Timo H. | C# Development | .Net | DevOps
  • 4.0 Instructor Rating
  • 606 Reviews
  • 7,792 Students
  • 12 Courses

I am a passionate software developer in the world of .Net programming.


As a Freelancer I support my clients with custom made solutions, consultancy or on site and online trainings in a wide range of topics.

Besides programming in .Net I also work with Python, SQL/NoSQL databases and the usual DevOps capabilities like docker and public cloud systems (Azure and AWS)

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Impressum Kontakt
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.