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

New Post: Strongly typed metadata

Hi all,I'm relatively new to MEF, so please forgive me for poor code or if this is blindingly obvious.I'm using the System.Composition namespace from the MEF for web and Windows Store apps NuGet...

View Article


New Post: Strongly typed metadata

I think I've worked it out after reading this SO question.I created a Metadata Attribute:[MetadataAttribute] publicclass ExtensionMetadataAttribute : ExportAttribute, IExtensionMetadata { publicint ID...

View Article


New Post: Import visibility with MEFX

Hi again,Nobody can explain this?Is this behaviour expected?Thanks for an answer Olivier Monney

View Article

New Post: Import visibility with MEFX

Hi Oliver,In MEF's discovery model, only types that have exports are considered "parts". This is because although MEF could find imports on types like the one above, there's no way for a composition...

View Article

New Post: Correct behavior

Hi Martin,Any chance of some code illustrating your scenario here?Cheers,Nick

View Article


New Post: Import visibility with MEFX

Hi,Thanks for your anwser.The situation I'm aiming to detect is to tell MEFX which classes are initiating a chain composition. In the small example it would be "MyClass"I just wanted to list my imports...

View Article

New Post: Removal of System.Composition.Web.Mvc and the support for .NET 4.0

I am also looking forward MEF 2.0 to be supported in .NET 4.0.

View Article

New Comment on "Microsoft.Composition FAQ"

Can I Use MEF in my WinForm applications?

View Article


New Post: Cannot call SatisfyImports on a object of type 'xx' because it is...

You only need to call  SatisfyImports once then use the "GetExportedValue" to new up the types from the container  Container.GetExportedValue<ICountries>();I know this is quite an old post but...

View Article


Commented Issue: If a base class has an import that fails the exception does...

In the code below the test fails until you un-comment on the line "var typeCatalog = new TypeCatalog(typeof(Foo));//, typeof(Bar));". Then the test works.FooImporter is a class that imports Foo. The...

View Article

New Post: Release

Hi, two questions:1 WhenfreedMEF2?2 MEF2will havebetter integration withMVC4 /WebAPI?

View Article

New Post: problem on MEF Winform load plugin DLL

i am new the MEF, i have a winform project and a class DLL project.i wish not to add the DLL in the winform project, and trying to use MEF to export my class DLL project and import the DLL to winform...

View Article

New Post: Removal of System.Composition.Web.Mvc and the support for .NET 4.0

Hola ! I would like to start to learn and understand MEF and I am also fixed to Net 4.Looks like bad politics, the solution file is also VS2012 [??].Completely disappointed .... Best regards, ++mabra

View Article


New Post: problem on MEF Winform load plugin DLL

my problem solved during 5am woke up time...

View Article

New Post: PartMetadata vs. ExportMetadata

Just in case someone stumbles upon this thread, the above answer is outdated. PartMetadata is used in the implementation of open-generics (and possibly other places I am not aware of).When using open...

View Article


New Post: MEF with PostSharp

Hi,I'm having a problem using PostSharp and MEF together. I have a MEF export that has a reference to an Assembly that is process by PostSharp. When I try to run the application I got an exception...

View Article

New Comment on "Documentation"

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information?...

View Article


New Comment on "Documentation"

Hello, this is a really fas­ci­nat­ing web blog and I have loved read­ing sev­eral of the arti­cles and posts con­tained upon the site, sus­tain the great work and hope to read a lot more excit­ing...

View Article

New Post: MEF exports failure in MVC app

Hello, I'm testing with MEF in MVC and I'm experiencing an issue when getting exported parts from my catalog; probably it's just me, but I'm stuck with it. Here is the minimalist scenario: a) a...

View Article

New Post: MEF exports failure in MVC app

   Hi- sounds strange. Have you checked that all code is being built against the same MVC version, or that the required binding redirects are in place?Cheers, Nick

View Article
Browsing all 265 articles
Browse latest View live


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