mef Questions

1

I'm trying to create an MVC4 web app using a number of plugins, i.e. essentially controllers exported via MEF plus content files unpacked into their proper locations. I found a lot of material abou...
Fango asked 12/12, 2012 at 9:31

3

Solved

Can you boostrap a Prism module system from within the WCF service? Because no matter what I do my MEF dependencies are not being fulfilled. E.g.: This is my WCF service implementation public cl...
Doehne asked 24/5, 2013 at 19:35

2

I have been searching about the dependency injection and read a few articles. But still I am unable to find out the difference between MEF and other IoC's. So, my question is this: In which situati...

3

Solved

I'm just trying to get my head around the Managed Extensibility Framework (MEF) at the moment and digging into a bit. I have an Eclipse background so in my brain I currently have the equation: M...
Neap asked 2/4, 2009 at 12:34

2

Solved

After much digging about I figured it's possible to use MEF for DI in MVC4, below SO link gives a couple of examples: How to integrate MEF with ASP.NET MVC 4 and ASP.NET Web API They work fine, b...
Glauconite asked 18/5, 2013 at 16:40

5

Solved

I am looking for a simple and secure way to access plugins from a .NET application. Although I imagine that this is a very common requirement, I am struggling to find anything that meets all my nee...
Soldo asked 10/11, 2010 at 14:51

1

Solved

Issue My MEF code is not appropriately updating assemblies during runtime, from a folder associated to a DirectoryCatalog. The plugins load at run-time succesffully, but when i update the dll and c...
Single asked 22/4, 2013 at 15:19

1

Hey I wonder if someone could help me. I try to bind my imported test modules to my view, see below for code: <UserControl x:Class="AvanadeTT.Controls.Views.Module" xmlns="http://schemas.micro...
Inga asked 26/3, 2013 at 14:20

2

I have a MEF-based application that can be customized with plugins. This application has several imported parts, and I want to remove some of them at runtime (to be able to delete the .dll that con...
Cruikshank asked 22/3, 2011 at 18:7

2

I have already searched some tutorials and even looked pluralsite Introduction to PRISM. However, most examples based on using unity containers and the some lack of information on how to implement ...
Extempore asked 8/3, 2013 at 7:52

1

I'm looking for a good implementation of hot-swapping done in .NET. The things I need are: Being able to deploy DLLs in a particular folder and have a running system pick them up. Having the runn...
Cleptomania asked 5/3, 2013 at 19:15

2

Solved

I'm thinking of using MEF to solve a plugin management requirement. In the blurb it says "no hard dependencies" but as far as I can see, there is a hard dependency on the import/export interface. ...
Terrarium asked 25/2, 2013 at 1:24

2

Solved

I have some plugins as dll files. My application loads the dll and it runs fine. but when I try to delete the old plugin and replace it with a new plugin it doesn't allow to do me. as it has been l...
Smythe asked 29/2, 2012 at 7:5

2

I'm using MEF and the System.ComponentModel.Composition.dll to load some dll. I'm doing something like : AggregateCatalog catalog = new AggregateCatalog(new AssemblyCatalog(Assembly.GetExecutingA...
mef
Girondist asked 4/1, 2011 at 15:28

2

Solved

I am trying to create a POC with mef where i have the requirement to load dll dynamically in an all ready running project , for this i have created one console application project and a class Libra...
Jerad asked 11/2, 2013 at 8:58

2

Solved

I have a Winforms desktop application that is loading multiple MEF parts with the same Interface type. Problem: When I try to load more than one of the same type I get the following exception: Th...
Roseboro asked 28/12, 2009 at 19:7

2

Solved

I have a WPF app running, which needs all operations that affect the UI to be on the UI Thread. WPF also provides a Dispatcher class that handles this - so I extracted that into a dependency. publ...
Whispering asked 30/9, 2010 at 6:28

5

Solved

I was reading somewhere that with MEF I can simply drop a dll into a directory and my application (with some MEF magic) will be able to read it and execute the code in it? Hopefully only classes th...
Pahoehoe asked 24/5, 2010 at 17:29

4

I am using Prism 4 with MEF Extensions and the MVVM pattern. During initialization in a module I call RegisterViewWithRegion(RegionNames.MyRegion, typeof(MyView)) which works perfectly when the vie...
Signature asked 7/6, 2011 at 20:23

2

Solved

I can't seem to find any articles or links to how to do this and it seems like an obvious problem (eg when you don't have the source code or want to use existing types not written for MEF in mind) ...
Rutherfurd asked 17/11, 2012 at 18:28

1

I'm building an MVC 3 application where MEF is used. The main idea is to have plug-in mechanism where models, controllers and views are loaded dynamically during runtime from mef container. Each p...

4

Solved

Looking at Microsoft's Managed Extensibility Framework (MEF) and various IoC containers (such as Unity), I am failing to see when to use one type of solution over the other. More specifically, it s...
Collectivize asked 17/8, 2009 at 14:47

1

I'm having problems with MEF not picking up dependencies for loaded components. We have a directory structure that looks like: C:/MSMQ/DistributionService/[Main application] C:/MSMQ/Providers/[pl...
Pesticide asked 5/11, 2012 at 12:13

3

Solved

Scenario: I am using Managed Extensibility Framework to load plugins (exports) at runtime based on an interface contract defined in a separate dll. In my Visual Studio solution, I have 3 different ...
Acceptor asked 26/10, 2010 at 3:42

3

I am trying to stop my application locking DLLs in my MEF plugin directory so that I can overwrite the assemblies at runtime (note I'm not actually trying to have MEF reload them on the fly, at the...
Gastronome asked 26/9, 2012 at 1:22

© 2022 - 2024 — McMap. All rights reserved.