PRISM and Silverlight deployment: back to DLL-HELL?

Topics: Prism v4 - Silverlight 4
Jul 18, 2011 at 9:55 PM

Hi everyone,

During the last couple of months I have been working on a constantly (intended that is...!) growing solution for a lob application. While discovering Prism as worthful, at the same time I have my doubts. Reason: when I copy, replay and learn from examples as provided on several forums and blogs, I allways end up with the obligation to download this and install that. Several versions, several concepts, different approaches and different techniques. With growing fear I see the moment of deployment coming... how will that ever perform once on the production machine? Will it ever run at all? Maintenance and sustainability once were key notions to choose Prism/MVVM...! But that was some time ago (four months!).

Anyone experience with that? All I see is oversimplified mockups, but no real-world experience...

Is my fear grounded?

Best regards, Peter

Jul 19, 2011 at 3:58 PM

Hi Peter,

There is a chapter in the Prism MSDN documentation that goes through the concepts needed for deploying Prism applications:

Chapter 11: Deploying Prism Applications

Prism is intended to help you, along other things, build more maintainable and modular applications. However, whether your application will perform well in production environments depends on your development efforts; Prism only provides the guidance to apply proven patterns for building well-architected solutions.

Additionally, you might find the Stock Trader Reference Implementation useful, as it portrays the use of Prism in a complex application, akin to a real-world LOB application.

I hope you find this helpful.

Guido Leandro Maliandi

Jul 19, 2011 at 4:36 PM
Edited Jul 19, 2011 at 5:10 PM

Hi Guido,

Thanks fort his relevant and rapid response to my discussion item. Chapter 11 looks very useful indeed.

I appreciate your reaction on the purpose of Prism and understand quite well what it’s intention and limitation is. Nonetheless, I hope you (partly) must agree with me that it is easy to get lost in all the examples, versions, concepts and practices there are out there. And explicit or implicit many of them appear to have adopted some add-on installed. That’s what I was pointing out. And that’s where my fear comes from.

I am in the middle of studying the stocktrader example. It needed just a few changes in settings before it would compile for the first time. I don’t remember which corrections precisely. I run VS2010 version 10.0.40219.1 SP1Rel on Windows 7 Ultimate N SP1 64bit OS. Prism 4 and everything of what I think is relevant is installed by now (I hope).

Thank you,

Best regards,

Peter Klein