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- 01TaskFlow project baseline (included with Full Access)5 min
- 02Variables, and the type system as an executable contractFree5 min
- 03Value vs reference semantics, and method call stack framesFree6 min
- 04Code review: the aliasing incident, and guard clauses (included with Full Access)5 min
- 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- 06State machines make lifecycle rules explicit (included with Full Access)4 min
- 07Null references and nullable reference types (included with Full Access)6 min
- 08Null-aware operators, and making absence explicit (included with Full Access)5 min
- 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- 10String interpolation and pure functions (included with Full Access)5 min
- 11Side effects belong at explicit boundaries (included with Full Access)4 min
- 12Arrays and List<T>: fixed-size vs growable (included with Full Access)6 min
- 13Dictionary<TKey,TValue> and choosing collections by access pattern (included with Full Access)6 min
Module 4 · Structs and Encapsulation
4 lessons · 23 min- 14Code review: the slow repository, and when to use a class (included with Full Access)6 min
- 15Readonly structs and records (included with Full Access)6 min
- 16The 30-second type decision, and the mutable key failure (included with Full Access)5 min
- 17Encapsulation and composition (included with Full Access)6 min
Module 5 · Interfaces and SOLID Design
4 lessons · 21 min- 18Interfaces as contracts, and Single Responsibility (included with Full Access)6 min
- 19Open/Closed and Liskov Substitution (included with Full Access)5 min
- 20Interface Segregation and Dependency Inversion (included with Full Access)5 min
- 21Inheritance is the last tool, not the first (included with Full Access)5 min
Module 6 · Errors, Cleanup and LINQ Pipelines
4 lessons · 23 minModule 7 · LINQ Streaming and Async Basics
4 lessons · 21 min- 26Streaming operators and allocation-aware LINQ (included with Full Access)5 min
- 27Readable LINQ, and code review: the query that ran three times (included with Full Access)5 min
- 28Tasks and async methods as state machines (included with Full Access)6 min
- 29await, and async all the way (included with Full Access)5 min
Module 8 · Cancellation, DI and Configuration
4 lessons · 20 min- 30Cancellation and ConfigureAwait(false) (included with Full Access)5 min
- 31Code review: the hanging completion endpoint, and manual DI (included with Full Access)5 min
- 32Microsoft DI and service lifetimes (included with Full Access)5 min
- 33Validated configuration, and unit tests as behavior examples (included with Full Access)5 min
Module 9 · Testability and Allocation Control
4 lessons · 23 min- 34Testable seams and the composition root (included with Full Access)6 min
- 35Code review: the container that became the architecture (included with Full Access)5 min
- 36StringBuilder and Span<T> (included with Full Access)6 min
- 37stackalloc buffers and reading stack traces (included with Full Access)6 min
Module 10 · Memory Snapshots
4 lessons · 34 min- 38Memory snapshots, and code review: the optimization pull request (included with Full Access)5 min
- 39Appendix A - Lesson coach checks (included with Full Access)14 min
- 40Appendix B - Code-review answers (included with Full Access)11 min
- 41Appendix C - Production decision cards (included with Full Access)4 min
TechInterviewNotes Editorial Team ·