Dependency Injection in .NET Paperback – 10 Oct 2011
- Choose from over 13,000 locations across the UK
- Prime members get unlimited deliveries at no additional cost
- Find your preferred location and add it to your address book
- Dispatch to this address when you check out
Frequently Bought Together
Customers Who Bought This Item Also Bought
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.
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.
What Other Items Do Customers Buy After Viewing This Item?
Top Customer Reviews
I thought that with over 15 years of OO coding experience there wouldn't be much for me here, but I couldn't have been more wrong. Somehow, although the vast majority of the text seems familiar, the clarity of the explanations have had a revitalising effect on me - coding the right way just seems to be so much clearer now! The exposition is brought to life with a set of example code that is simple enough not to cloud the issues at hand yet complex enough to translate easily to real-world applications. This is a difficult balance to strike but Mark has really hit the nail on the head.
I found the sections on Anti-Patterns particularly enlightening - the description of each explains why these anti-patterns arise in a way that reinforces the understanding and motivation for the Patterns covered in the preceding section, and provides you a clear refactoring path towards a better solution.
I'm not ashamed to say that reading this book has had a significant positive impact on my application design and also improved my approach to Test Driven Development. I've found myself detecting and correcting code smells far more efficiently than I was previously able to.
If you are completely new to DI, then your experience may be harder going. This book does assume a fair degree familiarity with OO concepts - and references to ideas like SOLID code and refactoring are brought up without going into too much background detail. However, there are plenty of links in the footnotes to informative blog posts and books.Read more ›
Author focuses on desinging loosely coupled applications and he shows how DI can help us do it. He mentions a lot of design patterns and explaines how they are associated with DI. He also provides a reader with a lot of examples using different IoC containers.
Tha last chapter contains a catalogue of a few popular .NET IoC containers (StructureMap, Castle Windsor, Autofac, Unity, MEF).
On the containers front, I have only read the chapter about Castle Windsor as that is what we use, however it did wonders for my confidence and knowledge in setting up and configure solutions to use Windsor.
Much of the book is excellent to read chapter by chapter, plus more focussed sections offer good reference material which I'm sure I'll be going back to time and again.
If you're a ,NET developer using DI, buy this book - its that simple.
You will get detailed information on most popular DI containers in .NET with lots of useful tips for each one. Even more, you will be able to see Dependency Injection applied with plenty amount of high-quality source code available - from simple samples to complex real-world ones! And it goes even further by including high-quality unit test code from where you may see how you can efficiently focus on the essentials of each test case and how everything play nicely when you have followed the catalog of DI patterns described.
This book can definitely make you want to go back in time and re-write all of your applications! Everyone building any kind of software should read this book.
1. Almost every chapter (except the ones on DI Containers) starts with an analogy, mostly involving food preparation. I found these distracting and annoying. Surely this book's chapters aren't such esoteric topics for the target audience that we require examples from another domain. As I am neither a chef nor a foodie I did not find them enlightening, and spent more time trying to understand how the example was relevant than actually understanding the concept in its proper context.
2. Each chapter spent too long summarising what it was going to be telling me. I don't think a two page summary at the start of each chapter is necessary. An index can tell me what each chapter holds. This was an issue not only at the start of the chapters but also throughout; the sections making up the chapter frequently ended by summarising what they had told me. I don't need to know that - I've just read the text! Repetition can be very annoying.
Overall the author should have just got to the point and been more concise. When he did though, it was an enjoyable and informative read.
Most Recent Customer Reviews
If you're a .net developer, that's the book you need to and have to read.
I'm not new to DI concepts and how to use it in building asp.net application. Read more
Very nice and useful reading so far!Published 10 months ago by Marco António Sampaio Freitas de Castro
Great book on a difficult topic. Of course requires medium to advanced knowledge of C# language and OOP techniques. Excellent.Published on 10 Nov. 2013 by George Brantzos
Great Service that was quick and easy with really good quality books. Would definitely use again as and when required.Published on 30 Sept. 2013 by Mrs Judy L Jones
I don't think i need to add anymore to the 5* reviews this book has already got. Brilliantly written, detailed, explained well. Easy to follow examples. Definitely recommended! Read morePublished on 21 July 2013 by I_Like_Juice
Look for similar items by category
- Books > Computing & Internet > Microsoft Windows > Applications > Access > Programming
- Books > Computing & Internet > Programming > Languages & Tools
- Books > Computing & Internet > Programming > Microsoft Windows
- Books > Computing & Internet > Programming > Software Design, Testing & Engineering > Design Patterns
- Books > Computing & Internet > Programming > Software Design, Testing & Engineering > Functional Programming
- Books > Computing & Internet > Programming > Software Design, Testing & Engineering > Software Architecture
- Books > Computing & Internet > Programming > Software Design, Testing & Engineering > Software Testing