Musings by Generator

Development, Life and everything else in S.A.

PRISM Tutorials

I recently worked on a Silverlight project that used the PRISM framework, and discovered that, while there are numerous resources out there on how to use it, I had to trawl through search results, various blogs, and help files to find the information I needed on doing various things with PRISM & Unity.

Which brings me to this post. I have decided to write a series of tutorials on how to use PRISM and Unity in Silverlight to develop a MVVM application. These will be written assuming that you, the reader, have some Silverlight knowledge, programming experience in C#, and know how to use Visual Studio. I will post code examples and source code with every tutorial so that you may view the complete working example.

You are welcome to contact me if you need any help with regards to anything discussed in these tutorials.

So what are you going to need:

  • Visual Studio 2010 (C# Express version will do).
  • Silverlight 4 SDK.
  • Silverlight 4 ToolKit for Visual Sudio 2010 – Current release is April 2010.
  • PRISM from Microsoft’s Patterns & Practices – Current release is August 2010 CTP.

You can get PRISM from Codeplex, and all the Silverlight bits can be downloaded from silverlight.net.

The PRISM download is a self-extracting install of the source code. Just follow the readme on how to compile the code into the required assemblies.

Please note that while PRISM is for both Silverlight and WPF, I will be focusing on Silverlight for now. WPF is not that different apart from some minor differences here and there.

So the first tutorial on setting up the project and creating a shell will follow shortly.

Catch you on the flipside.