Search code examples
wpfsilverlightprism-4

PRISM 4 for WPF and Silverlight


I am new to the WPF and Silverlight and Prism 4 , Can we create an Application that is usable both in WPF and silverlight or do I have to have different projects for both? My question is Can I use Prism to create an Application that is usable both in WPF and Silverlight , If not how do I go in that direction?.


Solution

  • You absolutely can use PRISM to create an application that is usable by both WPF and Silverlight. You will have to be careful how you use certain features (that don't easily cross between both), but its very doable. In fact, the stock trader sample application that comes with PRISM does this exact thing.

    Here is a great article that explains how: http://msdn.microsoft.com/en-us/magazine/ee321573.aspx