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

Created Issue: DirectoryCatalog and assembly with same name, bug? [14605]

Hi All,I have a scenario where my application (say Program.exe) runs from a Bin folder. There is a Bin/Plugins folder which has some more assemblies (say Plugin1.dll and Plugin2.dll). For some reasons...

View Article


New Post: DirectoryCatalog issue. Loads the assembly from Current folder...

Hi All, I have a scenario where my application (say Program.exe) runs from a Bin folder. There is a Bin/Plugins folder which has some more assemblies (say Plugin1.dll and Plugin2.dll). For some reasons...

View Article


New Post: MEF instantiating event subscribers

Hello TobiasFunke! I tried to use your trick to initiate Subscribers to events in prism, but did not work. Could u please provide me complete code for your implementation? Thanks.

View Article

New Post: MEF instantiating event subscribers

Hi, Ensure your IStartable implementations are decorated with the appropriate export attribute, which in this case would be:[Export(typeof(IStartable)] public class Car : IStartable { ... } This way...

View Article

New Post: MEF instantiating event subscribers

Hello! Thanks for your help! But I still have some issues . Have a look at the following code:- Interface:[InheritedExport] public interface IMessageConsumer { void Start(); }...

View Article


New Post: MEF instantiating event subscribers

Hello! Thanks for your help! But I still have some issues . Have a look at the following code:- Interface:[InheritedExport] public interface IMessageConsumer { void Start(); }...

View Article

New Post: MEF instantiating event subscribers

Hello! Thanks for your help! But I still have some issues . Have a look at the following code:- Interface:[InheritedExport] public interface IMessageConsumer { void Start(); }...

View Article

New Post: Windows Store sample?

I'm having a hard time finding MEF code samples anywhere. I'm working on a Windows Store application and would like the UI to be somewhat modular. My plan is to define a general layout and load various...

View Article


New Post: MEF2 with MVC4 via Microsoft.Composition

I am a bit confused as to what is the best option for utilizing MEF in and MVC 4 application. Kenny, your solution seems to use the "older" version of MEF and not the lighter weight...

View Article


Created Issue: Plugin can't deserialize -? [14606]

Hi,I've developed a plugin for my MEF application, and it uses it's own serialize / deserialize utility for persisting state data (BinaryFormatter). On it's own outside of MEF, the plugin project works...

View Article

Commented 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: MEF Container Initialization

I have a problem initializing MEF. I built an application that uses MEF and it seems to work fine on a WIndows 8 and Windows 7 SP1 machines. However, when I run the application on a third machine...

View Article

New Post: MEF Container Initialization

I figured it out. The third machine was missing an updated library (.dll) that had the export

View Article


New Post: Consume Plugin in MFC App

We have a legacy MFC application that needs to consume some plugins based on MEF. How do I go after doing this? The plugin is displaying a screen, passing back some images and text.

View Article

New Post: Reloading an updated version of XAP through DeploymentCatalog does...

The reason is related to how silverlight handles loading modules in app domains, it does not allow more than one version of a dll so it ignores new version until you restart your application. Hope this...

View Article


New Post: Reloading an updated version of XAP through DeploymentCatalog does...

Thanks for sharing your results. Doesn't this create a real-time issue when customers have persisted login enabled and leave their browser open for several days. If a server update occurs with new MEF...

View Article

New Post: Use MEF to allow only 2 instances at max per application

I am using MEF as an IOC in my application. I found myself stuck in a situation where I need exactly two instance at a time for a class in my application (across all threads). I thought it would be...

View Article


New Post: Use MEF to allow only 2 instances at max per application

Hi there, Creation policy (e.g. sharing) applies to parts, while one part may have many exports. This is just how the MEF component model works - in most situations this turns out to be useful. To...

View Article

New Post: What are all the cases that make an [ImportingConstructor] not load?

I posted this question on stackoverflow. Basically an [ImportingConstructor] is failing to load, then when I allow a specific part to be default, the constructor it is able to load. The confusing part...

View Article

New Post: SQL database in a MEF application

This question is not geared towards an implementation of MEF per se, but suppose I have a WPF application whose features are dynamically composable through MEF. The application is also backed by a SQL...

View Article
Browsing all 265 articles
Browse latest View live


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