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

New Post: MEF 1 + nHibernate + Fluent NHibernate - Cannot cast...

I've been wrestling with this issue for about two weeks now and have cut it back to one very specific test. I've asked this question on StackOverflow but haven't had any helpfull replies as yet. Please...

View Article


New Post: Using network drives with MEF

Hi! I had the same issue and added in the app.config the following code:<runtime> <loadFromRemoteSources enabled="true"/> </runtime> Things are working fine when accessing a Mapped...

View Article


New Comment on "Debugging and Diagnostics"

Hi I would like to log the composition but i cannot find CompositionInfo or CompositionInfoTextFormatter. In what namespace are they located? I am using .net 4 VS 2012.

View Article

New Comment on "What is Microsoft.Composition?"

Windows Store App Class Libraries doesn't have the typeof(X).Assembly property!

View Article

New Post: Azure Worker Role and MEF Open Generics

Hi there I have very strange problem, the open generics exports are not discovered by assembly catalog when working under Microsoft Azure Worker role. The assembly catalog didn't see the open generic...

View Article


New Post: Well-Known Boundaries

What's the deal with Microsoft.Composition.Demos.Web.Mvc.Boundaries? It says it defines [w]ell-known sharing boundary names. The composition provider uses all of these when handling a web request and...

View Article

New Post: Well-Known Boundaries

I agree with you. The string themselves are not important, what is important is the creation and destroy of CompositionContext. You can see the code for library called alt-composition written by...

View Article

New Post: Well-Known Boundaries

ido_ran wrote: You can see the code for library called alt-composition written by nblumhardt who was on the MEF team. Thanks for the reference, I'll check out the source.

View Article


Created Unassigned: silverlight for MEF [14610]

Helloi was chacking this article:http://msdn.microsoft.com/en-us/library/ms171868(v=vs.110).aspx#coreand i was not able to see any information about Silverlight, mainly related to PRISM interactions...

View Article


Edited Unassigned: silverlight for MEF [14610]

Helloi was checking this article:http://msdn.microsoft.com/en-us/library/ms171868(v=vs.110).aspx#coreand i was not able to see any information about Silverlight, or also inside PRISM, etc.theer is some...

View Article

New Post: Resolving Open Generics with RegistrationBuilder

We are using MEF2 RegistrationBuilder.ForTypesMatching as provided as a solution above for exporting the types from a class library. I have attached the sample code below. This is working fine before...

View Article

New Post: The component (unknown) cannot be created outside the HttpContext...

Hi, Because my application is getting bigger and more developers we run into this issue more and it hard to debug by hand. Any chance someone at Microsoft can explain why we have unknown instead of...

View Article

New Post: Interfaces are resolved only once with MEF

We have set a Bootstrapper of Caliburn.Micro as below:public class Bootstrapper : Bootstrapper<ShellViewModel> { private CompositionContainer container; protected override void Configure() { if...

View Article


New Post: Loading DLR dynamic instance or IronLanguage Type into MEF Catalog

Looking for a way to build up a catalog of IronPython or IronRuby Types. As the moment im using IronPythonMef but that only supports adding the exported ironpython types by directly composing those...

View Article

New Post: Why does RegistrationBuilder exclude parts decorated with a...

As of introduction: I know that Export and ExportMetadata attributes must be both specified on a part, so that the metadata can be accessed. It's related to the issue of InheritedExport, where metadata...

View Article


New Post: Cannot access a disposed Object in Prism Mef

Hi , When I am trying to load the view from the container, it throwing the exception like below, but it was not reproducible again. Can any one pls help me regarding this issue ? Timestamp: 2/4/2014...

View Article

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

(I'll refer to System.ComponentModel.Composition as .net 4.5 MEF and System.Composition as Windows Store Apps MEF) I am using System.Composition with Web Api. Besides the referenced types in the host...

View Article


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

Would loading the assembly from file system when bootstrapping, thus feeding it to the ContainerConfiguration.WithAssembly(...) be an acceptable solution? Is there a more elegant solution using MEF's...

View Article

New Post: Tracing on System.Composition

Doesn't System.Composition have an implemented TraceSource so that Trace Listeners can be attached via configuration? What is the recommended approach for Instrumentation and Tracing? Thanks

View Article

New Post: When is a composed NonShared object released for garbage collection

I wanted to know what is the lifetime of a composed NonShared object? For example if I created an object(which is a ViewModel) using an ExportFactory<object,Metadata> (the Metadata being used to...

View Article
Browsing all 265 articles
Browse latest View live


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