Can somebody guide me what should be the design if I want to create a MVVM application in Prism(Silverlight) using MEF( I am not sure how to import or export ViewModel using MEF).
I saw few article which are binding ViewModel with View using DataContext(either in XAML or codebehind of View).
And I saw few guys who are having IView & IViewModel interface & both are having reference variable of each other.
And at some places the guidelines says ViewModel should never be referring to View.
It would be nice if somebody can provide me code snippet.