Quantcast
Channel: Managed Extensibility Framework
Browsing all 265 articles
Browse latest View live
↧

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 Article


New 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 Article


New 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 Article

New 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 Article

New 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 Article


New Post: Windows 8 MEF

@iamdragonwolf: the Navigate code will not compile because "mainView" is not a type. 

View Article

New 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 Article

New 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 Article


New 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 Article


New 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 Article

New 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 Article

New 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 Article

New 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 Article


New 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 Article

Created 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 Article


New 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 Article

Commented 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 Article


New 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 Article

Created 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

New Post: Windows Phone 8?

Please vote onhttp://mef.codeplex.com/workitem/14603

View Article
Browsing all 265 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>