Zum Hauptinhalt springen Zur Suche springen Zur Hauptnavigation springen
Beschreibung
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.

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 [...] 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.

What's Inside
  • Refactoring existing code into loosely coupled code
  • DI techniques that work with statically typed OO languages
  • Integration with common .NET frameworks
  • Updated examples illustrating DI in .NET Core

About the Reader

For intermediate OO developers.

About the Authors

Mark Seemann is a programmer, software architect, and speaker who has been working with software since 1995, including six years with Microsoft. Steven van Deursen is a seasoned .NET developer and architect, and the author and maintainer of the Simple Injector DI library.

Table of Contents

  1. PART 1 Putting Dependency Injection on the map
  2. The basics of Dependency Injection: What, why, and how
  3. Writing tightly coupled code
  4. Writing loosely coupled codePART 2 Catalog
  5. DI patterns
  6. DI anti-patterns
  7. Code smellsPART 3 Pure DI
  8. Application composition
  9. Object lifetime
  10. Interception
  11. Aspect-Oriented Programming by design
  12. Tool-based Aspect-Oriented ProgrammingPART 4 DI Containers
  13. DI Container introduction
  14. The Autofac DI Container
  15. The Simple Injector DI Container
  16. The Microsoft.Extensions.DependencyInjection DI Container
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.

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 [...] 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.

What's Inside
  • Refactoring existing code into loosely coupled code
  • DI techniques that work with statically typed OO languages
  • Integration with common .NET frameworks
  • Updated examples illustrating DI in .NET Core

About the Reader

For intermediate OO developers.

About the Authors

Mark Seemann is a programmer, software architect, and speaker who has been working with software since 1995, including six years with Microsoft. Steven van Deursen is a seasoned .NET developer and architect, and the author and maintainer of the Simple Injector DI library.

Table of Contents

  1. PART 1 Putting Dependency Injection on the map
  2. The basics of Dependency Injection: What, why, and how
  3. Writing tightly coupled code
  4. Writing loosely coupled codePART 2 Catalog
  5. DI patterns
  6. DI anti-patterns
  7. Code smellsPART 3 Pure DI
  8. Application composition
  9. Object lifetime
  10. Interception
  11. Aspect-Oriented Programming by design
  12. Tool-based Aspect-Oriented ProgrammingPART 4 DI Containers
  13. DI Container introduction
  14. The Autofac DI Container
  15. The Simple Injector DI Container
  16. The Microsoft.Extensions.DependencyInjection DI Container
Über den Autor
Mark Seemann is a software architect living in Copenhagen. Previously a developer and architect at Microsoft, Mark is now an independent consultant.
Details
Erscheinungsjahr: 2019
Fachbereich: Betriebssysteme & Benutzeroberflächen
Genre: Importe, Informatik
Rubrik: Naturwissenschaften & Technik
Medium: Taschenbuch
Inhalt: Kartoniert / Broschiert
ISBN-13: 9781617294730
ISBN-10: 161729473X
Sprache: Englisch
Einband: Kartoniert / Broschiert
Autor: Mark Seemann
Steven van Deursen
Hersteller: Manning Publications
Verantwortliche Person für die EU: Libri GmbH, Europaallee 1, D-36244 Bad Hersfeld, gpsr@libri.de
Maße: 187 x 235 x 41 mm
Von/Mit: Mark Seemann (u. a.)
Erscheinungsdatum: 08.05.2019
Gewicht: 0,76 kg
Artikel-ID: 110769678

Ähnliche Produkte