~/talk

Clean architecture with ASP.NET Core

links:none on file
slides:none on file

Shows a concrete ASP.NET Core repo layout (three projects: ApplicationCore, Infrastructure, Web) taken from eShop OnWeb and demonstrates flipping dependencies so the core has no framework or DB ties while infrastructure implements interfaces and is wired at startup. Uses mediator for command/handler flow to keep controllers thin and a monkey framework to mock an IAsyncRepository in unit tests for BasketService. Demo runs (Visual Studio hiccups but features work) and unit tests exercise core logic.

AI-written summary · about

  1. 0:00Start
  2. 4:36ASP.NET Core brings a lot to the table
  3. 6:40Building applications with ASP.NET Core
  4. 12:43Goals of the architecture
  5. 15:26Single responsibility
  6. 17:03Dependency inversion
  7. 18:43Explicit dependencies
  8. 20:11Persistence ignorance
  9. 21:49Bounded context
  10. 23:56From one application to clean architecture
  11. 25:31Typical all-in-one application
  12. 27:07Moving to layers
  13. 28:31A typical layered architecture
  14. 29:05Disadvantages of plain layering
  15. 29:50A layered ASP.NET Core project
  16. 30:04Scaling into the cloud
  17. 30:37Deploying and scaling this type of applications
  18. 32:17Finally, clean architecture
  19. 34:37Clean architecture diagram
  20. 38:59Who goes where?
  21. 47:10What about the controller actions?
  22. 55:44Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.