Summary
Dependency Injection Principles, Practices, and Patterns teaches you to use DI to reduce hard-coded dependencies between application components. You'll start by learning what DI is and what types of applications will benefit from it. Then, you'll work through concrete scenarios using C# and the .NET framework to implement DI in your own projects. As you dive into the thoroughly-explained examples, you'll develop a foundation you can apply to any of the many DI libraries for .NET and .NET Core.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Dependency Injection (DI) is a great way to reduce tight coupling between software components. Instead of hard-coding dependencies, such as specifying a database driver, you make those connections through a third party. Central to application frameworks like ASP.NET Core, DI enables you to better manage changes and other complexity in your software.
About the Book
Dependency Injection Principles, Practices, and Patterns is a revised and expanded edition of the bestselling classic Dependency Injection in .NET. It teaches you DI from the ground up, featuring relevant examples, patterns, and anti-patterns for creating loosely coupled, well-structured applications. The well-annotated code and diagrams use C# examples to illustrate principles that work flawlessly with modern object-oriented languages and DI libraries.
0 有用 A栋301 2022-08-21 17:41:47 广东
讲解依赖注入非常好的书,很细致深入
0 有用 KeYY 2024-05-23 10:18:02 美国
这本书的优秀不在于后面三章(最后三章可以不用看,讲解.NET中三个具体DI技术的),而是全书很通俗易懂的讲解了Dependency Injection到底是个什么东西,它如何不借助于依赖注入库而使用到项目中,更重要的是它和SOLID principle、或者说和高内聚、低耦合的代码的实质关系。个人认为这是一本适合各个级别的程序员来阅读,增加自己对代码设计结构的理解,以及增加自己代码质量的好书。
0 有用 潇洒♪(^∇^*) 2022-01-23 21:13:46
作者真的是cv战神,后三章基本上是ctrl c + v