Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

27 Jan 2010

Do we need an EventAggregator when we have an IOC container?

An Event Aggregator is an example of a Publish/Subscribe channel. A while ago i started wondering if we still need an Event Aggregator in our compisite applications if we have an IOC container that takes cares of dependency wiring. An IOC container can easily inject the Event/MessageHandler(s) in the Event/MessagePublisher(s)… I’m still not sure about the answer (Yes/No).