
Автор: Steven van Deursen, Mark Seemann
Издательство: Manning Publications
Год: 2019
Страниц: 559
Язык: английский
Формат: pdf
Размер: 24.4 MB
This book debunks the myths around dependency injection (DI) and teaches you good practices and anti-patterns concerning DI while applying this to .NET Core. Our goal is to let this book be as influential as the first edition has been. Although many tools help us with DI, DI is foremost a set of principles and patterns. Tools are useful, but optional. This message is the common theme throughout this book, since, when you have mastered the patterns and principles behind DI, the correct usage of tools becomes an implementation detail. While tools can make working with DI easier, they won’t compensate for bad design.