Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your email address or mobile phone number.
Dependency Injection in .NET 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Frequently Bought Together
Customers Who Bought This Item Also Bought
More About the Author
Despite being a .NET developer he takes most of his inspiration from sources across a wide range of technologies, including lots of pattern books.
Originally poised to become a rock star or (failing that) graphic novelist (in the European tradition) he one day found himself with insufficient talent for either, a masters degree in Economics, and a desire for working with computers. He has been doing the latter intermittently since 1995.
When not working with software or spending time with his family, Mark enjoys reading, drawing and painting, listening to and playing music, as well as preparing or consuming gourmet food and wine.
Top Customer Reviews
The Long Story: I bought this book last year. I can't remember exactly why I bought it, but I suspect that it had something to do with intellectual intimidation and the frightening title. I come from a non-OO background, but I am too young to get through the next 20 years without dealing with the reality of OO prevalence in small (i.e. numerous) projects. I had 2 choices ... start at the bottom or start at the top. Believe me, I chose the latter with this book.
I'm not going to explain the content in every chapter, simply because other reviewers have already done the job as I would have. Read Mr. T. Anderson's fine review if you need that kind of detail. Instead, I will talk about the effect that this book had had on how I think.
Chapter 2 is the velvet sledgehammer in the face. I read along with the case study, nodding my head and exercising my (in retrospect, tiny) brain as Seeman describes how "Mary" and "Jens" go about building a layered application. I'm thinking, yes Mary and Jens, this is what the magazines, blog articles, and dime-a-dozen gurus are saying regarding the construction of layered application. Seeman then dissects the "layered" application. Actually, he doesn't dissect it; he tears it to shreds and stamps all over it. Brilliantly. It's truly scary to read this chapter. You will feel like a complete novice at the end of it. You then have two choices ... (1) reject this stuff as abstract, ivory tower nonsense, or (2) put on your big-boy-pants.Read more ›
I have been using DI successfully for several years, yet I was able to learn an enormous amount about the topic from this book. Explanations of DI principles and related patterns such as Decorator really clicked for me. Read this book and you will understand how to develop loosely coupled software components. Excellent code examples in C#. The section on object composition in MS frameworks like ASP.NET MVC and WCF is an extremely valuable resource. The footnotes will direct you to very interesting reading for an even deeper dive. I could go on.
I highly recommend this book for .NET developers.
As time went on I saw all the great reviews coming out about the book and it made me curious. A buddy of mine had purchased it and I know that Manning gives ebooks with there book purchases, so I asked to borrow it. I ordered the book the next day.
I have nothing bad to say about Dependency Injection by Dhanji R. Prasanna, it was a great book. The difference is this one spoke my language of choice, .NET. It made the read so much better for me. Plus all the coverage of the popular DI Containers for .NET rocks.
This book is broken down into 4 parts the first part introduces DI. Part two is a catalog of patterns, anti-patterns, and refactorings. Part three covers Object Composition, Lifetime Management, and Interception. Part four covers all the popular DI .NET Containers which include Castle Windsor, StructureMap, Spring.NET, Autofac, Unity, and MEF.
One of the coolest things about the book is that it uses poor man's DI in the first 3 parts of the book to teach you how it all works, and then covers the popular DI .NET Containers in details to help you be more productive.
Coverage of the popular DI .NET Containers is nice deep coverage which also highlights the advantages and disadvantages of each one. Each popular DI .NET Container gets its own chapter. There are also some nice feature and lifestyle comparison charts to help you zero in on which DI Container will fit your needs.Read more ›
Most Recent Customer Reviews
I haven't finished reading this yet, but I already find it one of the best dev books I've read. I am considering requiring my team to read it so that we can adopt DI methodology as... Read morePublished 1 month ago by Jason D Wilson
This is the best book on the topic I know of. It's NOT light reading, but it will tell you what you need to know if you make the effort to read it (again). Read morePublished 1 month ago by Jesper Andersen
Statements like "As far back as '94" make me feel old. (loose coupling has been a classic design goal for as long as I can remember. Read morePublished 3 months ago by JASON A WOLD
The book does a good job explaining dependency injection in the context of .Net and for that I'm thankful. Read morePublished 4 months ago by Ron.Clabo
Guess what? You're doing it wrong. After reading this book, you will understand WHY you're doing it wrong and how to go about fixing your code. Read morePublished 4 months ago by Dan Weatherman
Love this book. Great intro to DI and good development practices in general. You also get a comparison of DI frameworks at the end. Read morePublished 4 months ago by Pedro Magueija
Great introduction to dependency injection but it doesn't go to deep.Published 5 months ago by Justin
Balanced, in-depth, readable, and touches on a range of architectural good practices.Published 6 months ago by elGrillo
After 20+ years in the industry, Mark Seemann's book completely changed my approach to software design and development. Read morePublished 6 months ago by Lars Michael