Dependency Injection in .NET

-
Dependency Injection in .NET
PDF
  • eBook:
    Dependency Injection in .NET
  • Author:
    Mark Seemann
  • Edition:
    1 edition
  • Categories:
  • Data:
    September 28, 2011
  • ISBN:
    1935182501
  • ISBN-13:
    9781935182504
  • Language:
    English
  • Pages:
    584 pages
  • Format:
    PDF

-
Book Description
Dependency Injection in .NET, winner of the 2013 Jolt Awards for Productivity, presents core DI patterns in plain C#, so you'll fully understand how DI works, covers integration with standard Microsoft technologies like ASP.NET MVC, and teaches you to use DI frameworks like Structure Map, Castle Windsor, and Unity.
About the Technology
​Dependency Injection is a great way to reduce tight coupling between software components. Instead of hard-coding dependencies, such as specifying a database driver, you inject a list of services that a component may need. The services are then connected by a third party. This technique enables you to better manage future changes and other complexity in your software.
About this Book
Dependency Injection in .NET introduces DI and provides a practical guide for applying it in .NET applications. The book presents the core patterns in plain C#, so you'll fully understand how DI works. Then you'll learn to integrate DI with standard Microsoft technologies like ASP.NET MVC, and to use DI frameworks like StructureMap, Castle Windsor, and Unity. By the end of the book, you'll be comfortable applying this powerful technique in your everyday .NET development.
This book is written for C# developers. No previous experience with DI or DI frameworks is required.
Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
Winner of 2013 Jolt Awards: The Best Books—one of five notable books every serious programmer should read.
What's Inside
Many C#-based examplesA catalog of DI patterns and anti-patternsUsing both Microsoft and open source DI frameworks
-

Content

PART 1 - PUTTING DEPENDENCY INJECTION ON THE MAP
1. A Dependency Injection tasting menu
2. A comprehensive example
3. DI Containers

PART 2 - DI CATALOG
4. DI patterns
5. DI anti-patterns
6. DI refactorings

PART 3 - DIY DI
7. Object Composition
8. Object Lifetime
9. Interception

PART 4 - DI CONTAINERS
10. Castle Windsor
11. StructureMap
12. Spring.NET
13. Autofac
14. Unity
15. MEF

Free sample

-
Add comments
Прокомментировать
Введите код с картинки:*
Кликните на изображение чтобы обновить код, если он неразборчив
Copyright © 2019
-

-