September 2016
Intermediate to advanced
1018 pages
27h 54m
English
© Adam Freeman 2016
ADAM FREEMAN, Pro ASP.NET Core MVC , 10.1007/978-1-4842-0397-2_18
Adam Freeman1
(1)Milton Keynes MK6 3PA, UK
In this chapter, I describe dependency injection (DI), a technique that helps create flexible applications and simplifies unit testing. Dependency injection can be a difficult topic to understand, both in terms of why it can be useful and how it is performed. To that end, I build up slowly, starting with the conventional way of building application components and gradually explaining how dependency injection works and why it matters. Table 18-1 puts dependency injection into context.
Question | Answer |
|---|---|
What is it? | Dependency Injection makes it easy to ... |
Read now
Unlock full access