~/talk

TDD & DDD from the Ground Up

Talkat DDD Foundations 2023 · on Wednesday, 2023-06-07· [developer-experience, software-architecture]
slides:none on file

A .NET web API is built from scratch with xUnit tests, Entity Framework persistence and a public Git history (https://github.com/chrissimon-au/tdd-ddd-demo-dotnet). Tests drive tiny increments—TDD micro-steps—to add students, rooms, courses and enrollments; a capacity rule (room of 3, enrolling a 4th student) exposes a concurrency bug caused by Entity Framework lazy loading. Rather than force an aggregate, the design shifts: enrollments remain open and a separate scheduler algorithm assigns courses to rooms; tests confirm the refactor works.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 2:42Starting TDD with micro tests
  3. 10:03Building student registration
  4. 18:46Adding persistence and async
  5. 23:19Refactoring and vertical slices
  6. 27:50Linking courses to rooms
  7. 33:44Enrolling students in courses
  8. 40:46Concurrency and aggregates
  9. 47:05Removing unnecessary rules
  10. 50:18Scheduling courses and rooms
  11. 56:39Connecting scheduler to API
  12. 59:48Lightweight DDD and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.