I am familir with structure map and about to move to autofac because of its support for windows phone and silverlight.
Right now I prefer them over MEF because they use simple c# code , easy to configure unlike MEF which uses a lot of attributes etc.
However to keep things as standard as possilbe decided to use MEF for Caliburn Micro and will use my autofac inside my Models.
Yes and it would be nice if somebody could approve an 'official' autofac bootstrapper for WPF, Silverlight and Windows Phone, because I have seen about 3 versions on the internet. Last thing I need learning a new framework is having bugs as a result of yet
So I am not familiar with MEF, however based on Rob EisenBergs reply, I tried the following and please anybody correct me if i am wrong:
in Configure method replace:
container = CompositionHost.Initialize((
it compiles as a first step..will keep posted if gives issues.