Is Prism Primarily for Silverlight?
-
14-10-2019 - |
Question
The majority of the articles/tutorials/blog post I read about Microsoft's Prism Framework center around Silverlight. With the composite model being an interesting model for an existing desktop app that needs a little TLC, I'm wondering is Prism a viable technology for a desktop LOB app?
Solution
It is for Silverlight(Web)
, WPF(Desktop)
and Windows Phone 7(Phone)
.
Basically, it is for any platform that uses XAML
, MVVM
combo.
And for your last question, YES, it's a very good option to go with when developing a LOB
application in WPF
.
But remember, you will need to spend a few days just to learn Prism
(and Unity
or MEF
). So, be ready for it.
OTHER TIPS
most of the online resources are for Silverlight because it wasn't until fairly recently that WPF support was officially released. Prism 4.0 at http://compositewpf.codeplex.com/ includes WPF resources including some on sharing code between WPF & SL