Skip to content
Search lessons, topics, tests…
Esc

    ↑ ↓ moveEnter openEsc close
    Coding Practice and Application Labs: back to the track

    Guided course · Coding Practice and Application Labs

    TaskFlow C# Engineering Workbook

    • Build on the TaskFlow project to practise C# design decisions.
    • Use types, collections and LINQ with clear ownership rules.
    • Handle async work, cancellation and resource cleanup.
    • Review code and introduce testable boundaries with DI.
    Intermediate10 modules · 41 lessons · 3 h 53 min · 2 free

    Module 1 · Variables, Types and Control Flow

    5 lessons · 27 min
    1. 01TaskFlow project baseline (included with Full Access)5 min
    2. 02Variables, and the type system as an executable contractFree5 min
    3. 03Value vs reference semantics, and method call stack framesFree6 min
    4. 04Code review: the aliasing incident, and guard clauses (included with Full Access)5 min
    5. 05Switch expressions as decision tables, and loops as repetition policies (included with Full Access)6 min

    Module 2 · State Machines and Null Safety

    4 lessons · 20 min
    1. 06State machines make lifecycle rules explicit (included with Full Access)4 min
    2. 07Null references and nullable reference types (included with Full Access)6 min
    3. 08Null-aware operators, and making absence explicit (included with Full Access)5 min
    4. 09Code review: the null-suppression cleanup, and immutable strings (included with Full Access)5 min

    Module 3 · Strings, Arrays and Dictionaries

    4 lessons · 21 min
    1. 10String interpolation and pure functions (included with Full Access)5 min
    2. 11Side effects belong at explicit boundaries (included with Full Access)4 min
    3. 12Arrays and List<T>: fixed-size vs growable (included with Full Access)6 min
    4. 13Dictionary<TKey,TValue> and choosing collections by access pattern (included with Full Access)6 min

    Module 4 · Structs and Encapsulation

    4 lessons · 23 min
    1. 14Code review: the slow repository, and when to use a class (included with Full Access)6 min
    2. 15Readonly structs and records (included with Full Access)6 min
    3. 16The 30-second type decision, and the mutable key failure (included with Full Access)5 min
    4. 17Encapsulation and composition (included with Full Access)6 min

    Module 5 · Interfaces and SOLID Design

    4 lessons · 21 min
    1. 18Interfaces as contracts, and Single Responsibility (included with Full Access)6 min
    2. 19Open/Closed and Liskov Substitution (included with Full Access)5 min
    3. 20Interface Segregation and Dependency Inversion (included with Full Access)5 min
    4. 21Inheritance is the last tool, not the first (included with Full Access)5 min

    Module 6 · Errors, Cleanup and LINQ Pipelines

    4 lessons · 23 min
    1. 22Exceptions and the Try pattern (included with Full Access)6 min
    2. 23Result values and IDisposable ownership (included with Full Access)6 min
    3. 24using: cleanup on managed scope exits (included with Full Access)5 min
    4. 25LINQ pipelines as loop stages, and deferred execution (included with Full Access)6 min

    Module 7 · LINQ Streaming and Async Basics

    4 lessons · 21 min
    1. 26Streaming operators and allocation-aware LINQ (included with Full Access)5 min
    2. 27Readable LINQ, and code review: the query that ran three times (included with Full Access)5 min
    3. 28Tasks and async methods as state machines (included with Full Access)6 min
    4. 29await, and async all the way (included with Full Access)5 min

    Module 8 · Cancellation, DI and Configuration

    4 lessons · 20 min
    1. 30Cancellation and ConfigureAwait(false) (included with Full Access)5 min
    2. 31Code review: the hanging completion endpoint, and manual DI (included with Full Access)5 min
    3. 32Microsoft DI and service lifetimes (included with Full Access)5 min
    4. 33Validated configuration, and unit tests as behavior examples (included with Full Access)5 min

    Module 9 · Testability and Allocation Control

    4 lessons · 23 min
    1. 34Testable seams and the composition root (included with Full Access)6 min
    2. 35Code review: the container that became the architecture (included with Full Access)5 min
    3. 36StringBuilder and Span<T> (included with Full Access)6 min
    4. 37stackalloc buffers and reading stack traces (included with Full Access)6 min

    Module 10 · Memory Snapshots

    4 lessons · 34 min
    1. 38Memory snapshots, and code review: the optimization pull request (included with Full Access)5 min
    2. 39Appendix A - Lesson coach checks (included with Full Access)14 min
    3. 40Appendix B - Code-review answers (included with Full Access)11 min
    4. 41Appendix C - Production decision cards (included with Full Access)4 min

    TechInterviewNotes Editorial Team ·