Chapter 1. A Dependency Injection tasting menu

Menu

  • Misconceptions about Dependency Injection
  • Purpose of Dependency Injection
  • Benefits of Dependency Injection
  • When to apply Dependency Injection

You may have heard that making a sauce béarnaise is difficult. Even many people who cook regularly have never attempted to make one. This is a shame, because the sauce is delicious (it’s traditionally paired with steak, but it’s also an excellent accompaniment with white asparagus, poached eggs, and other dishes). Some resort to substitutes like readymade sauces or instant mixes, but these aren’t nearly as satisfying as the real thing.

Definition A sauce béarnaise is an emulsified sauce made from egg yolk and butter that’s flavored with tarragon, chervil, ...

Get Dependency Injection in .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.