Manning Early
Access Program
Dependency Injection in .NET
EARLY ACCESS EDITION

Mark Seemann

MEAP Began: October 2009
Softbound print: Spring 2011 | 375 pages
ISBN: 9781935182504
i
Pre-Order options*
Order today and start reading Dependency Injection in .NET today through MEAP        
  MEAP + Ebook only - $29.99
  MEAP + Print book (includes Ebook) when available - $49.99
* For more information, please see the MEAP FAQs page.
  About MEAP Release Date Estimates    

Table of Contents, MEAP Chapters & Resources

Table of Contents         Resources 
Part One: Introduction
 1: Tour de DI - FREE
 2: DI Fundamentals - AVAILABLE
 3: DI Containers - AVAILABLE

Part Two: Patterns
 4: DI Patterns - AVAILABLE
 5: DI Anti-patterns - AVAILABLE
 6: DI refactorings - AVAILABLE

Part Three: DIY DI
 7: Object Composition - AVAILABLE
 8: Object Lifetime - AVAILABLE
 9: Interception - AVAILABLE

Part Four: DI Containers
10: Castle
11: Structure Map - AVAILABLE
12: Spring.NET
13: AutoFac
14: Unity
15: Microsoft Extensibility Framework
 

DESCRIPTION

Dependency Injection (DI) is a software design technique emphasizing Separation of Concerns, Modularity, Extensibility and Testability. Applied well, it enables programmers to successfully deal with complexity in software and add new features to existing apps with greater ease. DI is the key to writing modular software and producing flexible and maintainable code bases.

While well-known among Java developers and other practitioners of object-oriented design, DI is only now gaining momentum in the .NET community. The Unity container released by Microsoft patterns & practices and the new Microsoft Extensibility Framework (MEF) make DI more relevant than ever for .NET developers.

Dependency Injection in .NET is a comprehensive guide than introduces DI and provides an in-depth look at applying DI practices to .NET apps. In it, you will also learn to integrate DI together with such technologies as Windows Communication Foundation, ASP.NET MVC, Windows Presentation Foundation and other core .NET components.

Building on your existing knowledge of C# and the .NET platform, this book will be most beneficial for readers who have already built at least a few software solutions of intermediate complexity. Most examples are in plain C# without use of any particular DI framework. Later, the book introduces several well-known DI frameworks, such as StructureMap, Windsor and Spring.NET. For each framework, it presents examples of its particular usage, as well as examines how the framework relates to the common patterns presented earlier in the book.

WHAT'S INSIDE

About the Author

Mark Seemann is a professional software developer and architect living in Copenhagen, Denmark. He has been working with software since 1995 and TDD since 2003, including six years with Microsoft as a consultant, developer and architect. Since 2009, Mark has been an architect with Safewhere. He enjoys reading, painting, playing the guitar, good wine, and gourmet food.

About the Early Access Version

This Early Access version of Dependency Injection in .NET enables you to receive new chapters as they are being written. You can also interact with the authors to ask questions, provide feedback and errata, and help shape the final manuscript on the Author Online

Want to learn More?

Sign up to read more content when it is released and to receive news about this book.