Ehsan Zargar Ershadi
Ehsan Zargar Ershadi

Reputation: 24833

Can I use Ninject insted of PRISM? or maybe it sould replace Unity in PRISM?

I'm going to start an pretty large project witch contains 30+ modules, I have goggled almost for a capable framework ? Need some help to find out witch one of these is soutable?

1) PRISM 2) Ninject 3) Unity or MEF

any why? I'm using MVVM in WPF4. Thanks

Upvotes: 0

Views: 1018

Answers (1)

devdigital
devdigital

Reputation: 34349

The most appropriate framework will depend on the problems that you are trying to solve. There is nothing to stop you using more than one of these frameworks together if it is appropriate, they are not mutually exclusive.

For example, we started a large scale enterprise composite app and used Prism, then we started to use MEF and slowly phased out Prism as it wasn't necessary to meet any of the business requirements. So now we use a mixture of Unity for our app's main DI infrastructure, and MEF for dynamic discovery of plugins.

I would also strongly recommend looking at something like Caliburn.Micro for simplifying MVVM.

Upvotes: 2

Related Questions