New Post: MEF distributions
The MEF team has been really quite, you can see that the articles are over year old. The last commit here was at Jul 20, 2012. Where can we see what is going on with MEF team and what the future plans...
View ArticleNew Post: MEF Scope and Provider
Hi, Is there a way to map MEF to use provider instead of directly create the part by itself? The reason I ask it is because the scope you are allow today are governed by the consumer of the part. What...
View ArticleNew Post: MEF distributions
Hi Ido, The team has been focused on other priorities and working on enabling some longer term goals of the framework that are not specific to MEF, which I cannot talk about at this point in time....
View ArticleNew Post: The component (unknown) cannot be created outside the HttpContext...
Hi, I run into this exception this morning because I find out that when I update from old CodePlex code to Microsoft.Composition NuGet package the sharing policy changed and I didn't set the sharing...
View ArticleNew Post: ExportProperty
Hi, The class PartBuilder<T> has a method ExportProperty. Can you please publish example of how to us it? The Export Attribute model had the ability to export a part from a property which allow...
View ArticleNew Post: Parts get constructed multiple times
I want to use MEF in my WP8 app, so I grabbed the OOB sources and recompiled adding only the WP8 target to the PCLs - nothing else has been changed. My problem is that I have a couple of exports of...
View ArticleNew Post: Parts get constructed multiple times
Hi did you try using Microsoft.composition on nuget. ? It is mef for the win8.
View ArticleNew Post: Parts get constructed multiple times
I did. But, I want this to work for WP8. I did however, find the solution. For some reason I had gotten things wrong that parts are by default non-shared, and then I found the [Shared] attribute, which...
View ArticleCreated Unassigned: The component (unknown) cannot be created outside the...
Hi, I run into this exception this morning because I find out that when I update from old CodePlex code to Microsoft.Composition NuGet package the sharing policy changed and I didn't set the sharing...
View ArticleNew Post: MEF and AppDomain
Reviving this... Here's an article I wrote in regards to MEF and AppDomains.MEF and AppDomain - Remove Assemblies On The Fly -John
View ArticleNew Post: MEF and Shadow Copy Files Sample?
Reviving this... Here's an article I wrote in regards to MEF and AppDomains.MEF and AppDomain - Remove Assemblies On The Fly -John
View ArticleNew Post: Simple start-to-end example for MEF2?
I'm trying to eval MEF2 right now, but I'm having tons of problems figuring it out due to a number of factors (e.g., MEF2 is in flux, searches bring up MEF1 results, I'm dumb, etc). My goals are...
View ArticleNew Post: Simple start-to-end example for MEF2?
William, I am assuming that you are using the version of MEF that comes with .Net 4.5. Here are a couple of things to get you started.Let’s assume that you have two classes that implement...
View ArticleNew Post: Simple start-to-end example for MEF2?
Appreciate the example. I was attempting to use the cut down version of MEF2 available via a nuget packagehttps://www.nuget.org/packages/Microsoft.Composition Now, that stripped down version doesn't...
View ArticleNew Post: Simple start-to-end example for MEF2?
William, for the nuget version of MEF you could use the method in ContainerConfiguration WithAssemblies( ) method.You would need to pull the assemblies on your own in that case. The attributes should...
View ArticleNew Post: How best to access an Exported Property from an MEF Component at...
I have a WPF application that uses an extensive set of MEF components, some of which have user interface elements or that need to provide data for use in xaml controls. My problem is how best to load...
View ArticleNew Post: PartMetadataAttribut vs. ExportAttribute and ExportMetadataAttribute
I have created my own custom FilteredCatalog, like that shown on the MEF CodePlex site (https://mef.codeplex.com/wikipage?title=Filtering%20Catalogs&referringTitle=Guide) using the...
View ArticleNew Post: Binding a DataGrid ItemSource to an ObservableCollection contained...
I have an application that is comprised primarily of MEF components. Components that have user interface elements construct the wpf markup in code and return an Element to the main application through...
View ArticleNew Post: What does ReleaseExport really do?
I'm having the same issue. Anyone found any solutions for this? Seems like a pretty major flaw to me.
View ArticleCreated Unassigned: Bug in CompositionContract Equals [14609]
The Equals method of the CompositionContract in the System.Composition.Runtime assembly has a bug. The Equals method will eventually internally call ConstraintEqual, which is ultimately where the bug...
View Article