Thesis
Application
Events
About us
home page forums

Visual Studio

Useful Links

CSLA

PRISM/Unity

  • Prism from MSDN.
  • Prism 4.1 - Developer's Guide to Microsoft Prism.
  • 10 Things to Know About Silverlight Prism.
  • Prism & Silverlight - Channel 9 Series - By Mike Taulty. Microsoft UK.
  • Silverlight - Mike Taulty's Blog. Microsoft UK.
  • A Prism 4 Application Checklist. Published 4/5/2011.
  • Prism Modularity using Unity Container. Published 10/31/2012.
  • Differences between MEF and Unity. The main difference is that with unity you will explicitly register each class you want to use in the composition. In MEF on the other hand, you mark classes with attributes instead of registering them somewhere else. At first sight this looks like a minor syntactic difference, but it is actually more important than that. MEF is designed to allow for the dynamic discovery of parts. To accommodate such dynamic composition scenarios, MEF has a concept of "stable composition", which means that when it runs into a missing dependency somewhere it will simply mark the part as unavailable and will continue the composition anyway. Stable composition can be quite useful, but it also makes it very difficult to debug a failed composition. So if you don't need dynamic discovery of parts and "stable composition", I would use a regular DI container instead of MEF. Unlike MEF, regular DI containers will give you clear error messages when a dependency is missing.
  • Unity vs. MEF: Picking the Right Dependency Injection Manager. Posted 4/11/2013. MEF's approach is "there's a bunch of objects out there--pick the one you want"; an IoC's approach is "here's the one you're going to use". The superset is the DI Manager and an IoC is one kind of DI manager. From another site: "you use MEF to really manage a set of unknown things, you use IoC Containers to manage a set of known things". When it comes to explicit wiring of types, that is not MEF's strong point. It's doable but you have to jump through many hoops.
  • MEF vs. Unity in composite application (Prism). Posted 4/27/2011.

MVVM Pattern

C# ideas

Conventions