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
Dependency Injection Principles, Practices, and Patterns
✍ Scribed by Mark Seemann, Steven van Deursen
- Publisher
- Manning
- Year
- 2019
- Tongue
- English
- Leaves
- 552
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
✦ Synopsis
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.
✦ Table of Contents
Part 1. Putting Dependency Injection on the map
1 The basics of Dependency Injection: What, why, and how
2 Writing tightly coupled code
3 Writing loosely coupled code
Part 2. Catalog
4 DI patterns
5 DI anti-patterns
6 Code smells
Part 3. Pure DI
7 Application composition
8 Object lifetime
9 Interception
10 Aspect-Oriented Programming by design
11 Tool-based Aspect-Oriented Programming
Part 4. DI Containers
12 DI Container introduction
13 The Autofac DI Container
14 The Simple Injector DI Container
15 The Microsoft.Extensions.DependencyInjection DI Container
📜 SIMILAR VOLUMES
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
Dependency injection is an approach to creating loosely coupled applications. Maintainability, testability, and extensibility are just a few advantages of loose coupling. Ninject is a software library which automates almost everything that we need in order to implement a dependency injection pattern
In object-oriented programming, a central program normally controls other objects in a module, library, or framework. With dependency injection, this pattern is inverted—a reference to a service is placed directly into the object which eases testing and modularity. Spring or Google Guice use depende