MVVM and Controller

Topics: Prism v4 - WPF 4
Mar 5, 2012 at 9:58 PM
Edited Mar 5, 2012 at 10:05 PM

I was seeing StockTraderRI Demo, and I'd like to use Controller but using Unity Container.

The above example loads the controllers using the export tags. But I have no idea about how to load it in PRISM or where should I have to register it?

Thanks in advance.

Mar 6, 2012 at 12:45 PM


I believe, you might find the following chapter of the Prism documentation useful, there is explained how to register types in both MEF and Unity containers. Also in this same chapter you could find how to resolve instances of the types registered:

Additionally, you could find the Dependency Injection Lab of the Prism Training Kit interesting.

I hope you find this handy,

Agustin Adami