New Post: MEF2 with MVC4 via Microsoft.Composition
I finally cobbled together a basic implementation that I'm going to use from now on. It uses the lightweight MEF framework from NuGet (Microsoft.Composition) along with some WebActivator magic and the...
View ArticleNew Post: MEF2 with MVC4 via Microsoft.Composition
I've done something like that on my project (http://mefistonet.codeplex.com/).In the sourcecode, you'll find a proof of concept (dev/V0/Mefisto4), where I use MEF and MVC4 together, allowing me to have...
View ArticleNew Post: Import visibility with MEFX
I'm trying to match imports and exports with mefx, using /exports and /imports. I get missing imports in this situation:Let's demonstrate with the most simple expample evernamespace Example01{...
View ArticleNew Post: Windows 8 MEF
Okay, I've looked all over and can't find anything in the samples. Â Only thing I've been able to find regarding usage in Windows 8 is the blog posts about it being released on Nuget. Â I've copied this...
View ArticleNew Post: Windows 8 MEF
You need to do the GetExport on your View since that's what you're exporting.   var mainView = _mefContainer.GetExport<MainView>(); ... if (!rootFrame.Navigate(typeof(mainView), args.Arguments))...
View ArticleNew Post: Windows 8 MEF
@iamdragonwolf: the Navigate code will not compile because "mainView" is not a type.Â
View ArticleNew Post: Windows 8 MEF
Oh right, an instance doesn't work since the NavigationService wants to create the instance itself.You could have the Frame created in your MainView and navigate from there if you need the navigation...
View ArticleNew Post: Problems when using 2 CompositionContainers
Assembly's with identical Assembly Name's in separate CompositionContainers will cause problems.My program has 2 CompositionContainer's filled from 2 directories. However if an Assembly is in both...
View ArticleNew Post: Windows Phone 8?
We've recompiled the source (in oob\src) to include Windows Phone 8, and found the assemblies all compile cleanly. Can we distribute these assemblies with our product?  We'd prefer to use the supported...
View ArticleNew Post: MEF2 with MVC4 via Microsoft.Composition
Hello,I have just spent couple of hours trying to do some MVC4 + MEF2 (with parts defined in separate assembly), also agree with cmschick, lot of samples but there are not 2 working the same... and...
View ArticleNew Comment on "DeploymentCatalog"
I'm getting this issue when I try to reload a xap file using DeploymentCatalog, the file is reloaded successfully but the re-composition seems to use the old version of the xap file. Here is the...
View ArticleNew Post: Reloading an updated version of XAP through DeploymentCatalog does...
DeploymentCatalog does not seem to consume the proper version of XAP package.in fact when the application start and an extension (xap package) is loaded the first time composition works fine, but if I...
View ArticleNew Post: MEF2 with MVC4 via Microsoft.Composition
Hi,I you want to use a ready a nuget package to test MEF with MVC4 and WebApi, you can get it from http://nuget.org/packages/MEF.MVC4 . I factored the code found in this post . If you need to install...
View ArticleNew Post: Convention-based export with attribute-based metadata
Hello, I'd like to use RegistrationBuilder to export all derived types:rb.ForTypesDerivedFrom<IFoo>().Export<IFoo>();I need to have an ability to apply metadata individually at class level:...
View ArticleCreated Issue: Missing Component DeploymentCatalog [14602]
I moved some code from the 4.0 framework to the 4.5 framework and the object System.ComponentModel.Composition.Hosting.DeploymentCatalog doesn't exist anymore.
View ArticleNew Post: Correct behavior
HiI'm using MEF as my view model container.I have public property in view model called for example test, when I assign her outside the constructor, property is always 0. When I assign them in...
View ArticleCommented Issue: Missing Component DeploymentCatalog [14602]
I moved some code from the 4.0 framework to the 4.5 framework and the object System.ComponentModel.Composition.Hosting.DeploymentCatalog doesn't exist anymore.Comments: I copied the older DLLs from...
View ArticleNew Post: Windows Phone 8?
Did the same thing, as simple as checking support for Windows Phone 8, as well as Windows Store app and .NET 4.5, for each of the five projects. Can you please create a new release with this WP8...
View ArticleCreated Issue: WP8 support missing in PCL assemblies! [14603]
Since Windows Phone 8 is not checked as supported target framework in the MEF portable class libraries (currently only .NET for Windows Store apps and .NET Framework 4.5), it will only work in emulator...
View Article