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
Top Customer Reviews
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 ›
This is one of those books in .NET that I wish I've read much sooner. The more I dig in deeper into the book's content, the more I wished that more books were written similar to this. The writing style is second to none (I can't stop reading), and DI is explained thoroughly.
The author initially goes back to the basics of DI and go over what it is and the problem that it tries to solves. He then proceeds to write code that are tightly coupled, which he then goes back and shows how it can be re-written or refactored to become loosely coupled. The book also covers DI containers or injectors as how it satisfies the need of resolving dependencies. Although DI containers are available, it's valuable to know what going on behind the scene and how to architect a project that is adaptable to any unforeseen scenarios.
There are technical books out there where authors gloss over a subject which means that they're either too lazy to explain it, or they're not knowledgeable enough in that area. This book is different. The author not just understand the subject but knows how to explain it very well. He covers all the grounds of Dependency Injection; the ins-and-outs as well as the finer details. There are no questions that are left unanswered. I was actually surprised how massive the book initially was and didn't think that covering DI would span into so many pages. I assumed a lot of things regarding DI and this book changed those assumptions as well as clarified a lot of things. I've gained not just knowledge in the scope of DI but as well as insights in Design Patterns.Read more ›
Most Recent Customer Reviews
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 2 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 3 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 5 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 5 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 7 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 8 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 8 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 8 months ago by Pedro Magueija
Great introduction to dependency injection but it doesn't go to deep.Published 9 months ago by Justin