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

New Post: Importing Multiple InheritedExport Interfaces

jpatrick62,you need to apply the import attributes over each property as below. Two imports on the same property will not work as the composition engine will not know which import it should use to...

View Article


Reviewed: MEF Analysis Tool (mefx) for .NET 4.0 Beta (十二月 16, 2014)

Rated 4 Stars (out of 5) - oh,my god,it's so hard

View Article


Reviewed: MEF Analysis Tool (mefx) for .NET 4.0 Beta (十二月 23, 2014)

Rated 4 Stars (out of 5) - 只有回复以后才可以下载吗?

View Article

New Post: A question about class CompositionContainer

I added a new an instance of CompositionContainer named C2 for a program which has been using an instance of CompositionContainer named C1. I found there are no any import classes within C2, while both...

View Article

Created Unassigned: MEF should allow metadata view types with constructors of...

If you create a metadata view type, the constructor of the type must accept an IDictionary<string, object>. This means you can't use an IReadOnlyDictionary<string, object> which is a...

View Article


New Post: Resolver assembly file plug-ins in System.Composition (a la...

There's much confusion regarding the DirectoryCatalog that can't be referenced from System.ComponentModel.Composition in VNext ASP.NET projects. It's just a case of different method of doing the same...

View Article

New Post: Using MEF with recursion and TreeView

I have an application where I'd like to display a list of all plugins located in a specified directory (and sub-directories). This is my first time using MEF and so I'm having some difficulty...

View Article

Created Unassigned: OnImportsSatisfied called in the wrong order [14622]

In the basic scenario in which part A has a dependency on part B, and both part A and part B have methods with [OnImportsSatisfied] attributes, the method in part A is called before that in part B....

View Article


Commented Unassigned: OnImportsSatisfied called in the wrong order [14622]

In the basic scenario in which part A has a dependency on part B, and both part A and part B have methods with [OnImportsSatisfied] attributes, the method in part A is called before that in part B....

View Article


New Post: Make sure that the controller has a parameterless public constructor

I use MEF, WebAPI in VS 2012. I get error __ .","exceptionMessage":"An error occurred when trying to create a controller of type 'ClienteController'. Make sure that the controller has a parameterless...

View Article

New Comment on "Sharing and lifetime"

Limited or no documentation on Lifetime, though the heading includes Lifetime.

View Article

New Post: Must I use ExportFactory when using CompositionScopeDefinition ?

Hi, Must I use ExportFactory when using CompositionScopeDefinition ? All the sample I found use ExportFactory ,at least for the root object thanks in advance

View Article

New Comment on "Exports and Metadata"

Is Metadata handling different in MEF2? When I try to SatisfyImports, this example gives me: System.Composition.Hosting.CompositionFailedException was unhandled HResult=-2146233088 Message=The type...

View Article


New Post: Multi-threading issue when using MEF with WCF

Can you leave the answer for this problem Martin? I have the same problem too, isThreadSafe=true can't solve this problem.

View Article

New Post: Using MEF with recursion and TreeView

Not sure if you figured it out for yourself, but I posted an idea on my blog which I'll share here. It's in VB though.'Create our Catalog of different Catalogs Dim catalog = New AggregateCatalog() 'Add...

View Article


Created Unassigned: Moq Unit testing using MEF Container [14623]

Hi All,In our WPF MVVM Application , we are using MEF to create the instances of class.We are using Moq Framework to perform unit testing for our classes, we have added the parts to Container and this...

View Article

Reviewed: MEF Analysis Tool (mefx) for .NET 4.0 Beta (五月 28, 2015)

Rated 5 Stars (out of 5) - Find is so easy!

View Article


Reviewed: MEF Preview 8 (六月 16, 2015)

Rated 2 Stars (out of 5) - jjjyhfhdfghdgdf

View Article

New Post: CompositionHosts exports run in parallel sometimes inject null to...

Hello, I am working on a multi-tenant application, where every tenant has its own CompositionHost (System.Composition.Hosting.CompositionHost) with the same part types. When I try to get export of the...

View Article

Created Unassigned: Problem deploying Silverlight App using MEF and Azure...

Hello I developed an app using Silverlight 5. When I run this application in my computer this app works like a charm.but When I publish this application to my WebRole in Azure my app is dead.I was...

View Article
Browsing all 265 articles
Browse latest View live


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