Integrate EventAggregator to existing SL2 App

Topics: Prism v2 - Silverlight 2
May 1, 2009 at 2:45 PM
I have an existing SL2 app. Does anyone have any guidance on what is the minimum I would need to do to integrate EventAggregation from Prism v2?
May 4, 2009 at 7:48 AM
You would need to refer to the Prism dlls (particularly the namespace Microsoft.Practises.Composite.Events). You would need to build a mechanism for publish suscribe as shown in samples on the Prism quick start website.

However, I'm not quite sure on the benefits you would get by just implementing EventAggegation in an existing SL2 application.
May 12, 2009 at 9:57 PM

Hi David,


The following blog post provides an assembly that only contains the required things to implement Silverlight EventAggregation from Prism-v2. This could be useful if you want to reduce download size:

·         Putting Prism-v2 extensibility to test. The standalone Silverlight Event Aggregator


For information on how Publication and Subscription is done with the Event Aggregator you can check:

·         How to: Create and Publish Events

·         How to: Subscribe and Unsubscribe to Events


Please let me know if this helps.


Damian Schenkelman

May 13, 2009 at 6:09 PM

Great link, dschenkelman! Nice work.