Dependency Injection in .NET you own this product

Mark Seemann
Foreword by Glenn Block
  • October 2011
  • ISBN 9781935182504
  • 584 pages
  • printed in black & white

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

Dependency Injection in .NET 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 the 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.

what's inside

  • Many C#-based examples
  • A catalog of DI patterns and anti-patterns
  • Using both Microsoft and open source DI frameworks

about the reader

This book is written for C# developers. No previous experience with DI or DI frameworks is required.

about the author

Mark Seemann is a software architect living in Copenhagen. Previously a developer and architect at Microsoft, Mark is now an independent consultant.

Realistic examples keep the big picture in focus...A real treat.

Glenn Block, Microsoft

Well-written, thoughtful, easy to follow, and...timeless.

David Barkol, Neudesic, LLC

Fills a huge need for .NET designers.

Paul Grebenc, PCA Services, Inc.

Takes the mystery out of a mystifying topic.

Rama Krishna, 3C Software

All you need to know...and more!

Jonas Bandi, TechTalk