Enter your mobile number 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.
Getting the download link through email is temporarily not available. Please check back later.
To get the free app, enter your mobile phone number.
Dependency Injection in .NET 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Excel 2016 For Dummies Video Training
Discover what Excel can do for you with self-paced video lessons from For Dummies. Learn more.
Frequently Bought Together
Customers Who Bought This Item Also Bought
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
Very good book. Good examples, very readable, undocmatic! If you are a software developer, you should read this book.Published 19 days ago by Amazon Customer
I just completed reading the book from cover to cover and I am pleased. I think when it comes to judging the quality of a book, a reader should consider how well the author has... Read morePublished 1 month ago by joey stallmeyer
Although there is a great deal of useful information in this book, the author comes across as condescending and unable to think outside of the box. Read morePublished 4 months ago by Veteran Programmer
Great book! If you want to learn the basics of DI in .NET this is the book for you! I wasn't a huge fan of the 4 sections or so detailing how to use different types of DI... Read morePublished 5 months ago by Amazon Customer
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 7 months 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 7 months 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 9 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 10 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 10 months ago by Dan Weatherman