Past Meetup

Dennis Doomen: The strengths and weaknesses of dependency injection libraries

This Meetup is past

24 people went

Melrose Tech Center, 2nd floor of the Orlando Library

101 East Central Boulevard · Orlando, FL

How to find us

Take the elevator to the 3rd floor. Paid parking available in open parking lot at the corner of Pine St and Garland St. Street side parking is free after 6pm.

Location image of event venue


6:00 - 6:15 Welcome & announcements
6:15 - 7:30 Presentation
7:30 Prizes and closing
7:45 After-meeting social

Note: we’re also doing a Hurricane Michael relief drive, scroll to the bottom for details

Concepts like the Dependency Inversion Principle, Inversion of Control containers and Dependency Injection libraries are often mixed up, but they are not the same. You shouldn’t use a DI library until you understand the problems your solving, nor is it always the best solution.

Since I’ve felt this pain many times myself, I’d like to use this session to create some clarity. First, I’ll demonstrate the reason why people typically use libraries like Unity and Autofac in their code bases. Then I’ll show you that those same people often use the Dependency Inversion Principle in the wrong way (and need to revert to mocking libraries to compensate). Then I’ll show you how to apply the principles properly by carefully designing the seams in your architecture. And finally, I’ll show you how an advanced library can connect the dots in a very elegant way.

Dennis is a veteran architect in the .NET space with a special interest in Domain Driven Design, CQRS, Event Sourcing and everything agile. He specializes in designing enterprise solutions based on the .NET technologies as well as providing coaching on all aspects of designing, building and maintaining enterprise systems. He is the author of, an assertion framework for fluently asserting the outcome of unit tests and he has publishing coding guidelines for C# on since 2001. He also maintains a blog on his everlasting quest for better solutions at You can reach him on twitter through @ddoomen.

We are working with Ashley Grant to provide supplies to the panhandle communities effected by hurricane Michael. The list of supplies needed as relayed by the folks on the ground are as follows:
-Soap, shampoo, toothpaste, mouthwash, and other toiletries
-Feminine hygiene products
-Undergarments, male and female
-Towels and washcloths
-Baby products and sanitizing wipes
-Bug Spray
-Bug Net Screens For Doors
If you would like to contribute to this effort you can bring donations/ supplies to the November 8th meeting.