You are previewing Dependency Injection in .NET.

Dependency Injection in .NET

Cover of Dependency Injection in .NET by Mark Seemann Published by Manning Publications
O'Reilly logo

Chapter 6. DI refactorings

Menu

  • Mapping runtime value to ABSTRACTIONS
  • Working with short-lived DEPENDENCIES
  • Resolving cyclic DEPENDENCIES
  • Dealing with Constructor Over-injection
  • Monitoring coupling

You may have noticed that I have a fascination with sauce béarnaise, or sauce hollandaise in general. One reason is that it tastes so good; another is that it’s a bit tricky to make. In addition to the challenge of production, sauce hollandaise presents an entirely different problem: it must be served immediately (or so I thought).

This used to be less than ideal when I was having guests. Instead of being able to casually greet my guests and make them feel welcome and relaxed, I was frantically whipping the sauce in the kitchen, leaving them ...

The best content for your career. Discover unlimited learning on demand for around $1/day.