mef Questions

1

I want to create a web application using ASP.Net MVC5. It is a big enterprise application and having lots of modules, earlier i worked on Siverlight and use the Prism architecture. I already Goog...
Counseloratlaw asked 15/12, 2013 at 10:19

2

Solved

I have a following code: public class Temp<T, TMetadata> { [ImportMany] private IEnumerable<Lazy<T, TMetadata>> plugins; public Temp(string path) { AggregateCatalog aggrega...
Cowherb asked 16/1, 2014 at 7:25

4

Solved

I've encountered somewhat of a problem in MEF's part lifetime which causes memory leaks in my Prism application. My application exports views and viewmodels with the PartCreationPolicy being set t...
Hagioscope asked 9/1, 2012 at 11:51

4

Solved

I am wondering what is the best way to use NLog with Managed Extensibility Framework (MEF)? I have an application that support plugins using MEF architecture (Import and Exports etc) I want to add...
Fogg asked 13/9, 2010 at 23:54

1

How to reuse Visual Studio WPF styles for controls in VSIX MEF extension? I have found some information about general using of themes in other applications here, but probably there is other way to...
Eulogia asked 21/12, 2012 at 11:31

3

Solved

I'm using MEF and I have two exports having the same contract type but with different contract name Eg: [Export("TypeA", typeof(MyPlugin))] [Export("TypeB", typeof(MyPlugin))] I could retriev...
Print asked 8/12, 2013 at 9:44

5

Solved

Is there a way with a plugin system (I would use with an IoC container) to load one version of an assembly at runtime and then replace that DLL while the AppDomain is running? I don't want to resta...
Olmos asked 22/2, 2011 at 16:25

6

Solved

Currently my WPF application imports a part like this [Import(typeof(ILedPanel)] public ILedPanel Panel { get; set; } But this gives ma a single intance of the class that implements ILedPanel. W...
Anacoluthon asked 3/6, 2009 at 23:19

1

Solved

This question might be design related or code related, but I'm stuck so I'm open to any kind of answer; a pointer in the right way! I have used MEF (Managed Extensibility Framework) to develop a p...
Bisectrix asked 7/11, 2013 at 10:19

4

Solved

I'm trying to understand when [ImportingConstructor] would be more appropriate than decorating properties with [import]. Is it a personal preference, or something that allows classes to be construc...
Cremator asked 31/5, 2012 at 20:9

2

Solved

I'm currently using MEF and a DirectoryCatalog to load some parts from some extension DLLs. It works for me, and most of the people that use the program, but some users experience the parts not bei...
mef
Cherey asked 2/2, 2012 at 20:9

1

Solved

I am wanting to port a C# Mobile App for Windows 8 tablets using Xamarin. One of the issues we foresee is the use of MEF. Does Xamarin.iOS support MEF?
People asked 30/10, 2013 at 15:17

2

Solved

I am trying to add plugin extensibility to my C# application using the Managed Extensibility Framework (MEF) framework, and so far it is going ok; I have my main/host application loading plugins fr...
Blanket asked 24/10, 2013 at 17:31

2

Solved

I have written an MVVM app in WPF using MEF and Prism with three different regions. Code is across two modules, being discovered in the App.Config. I have all the navigation commands and structure...
Lax asked 22/10, 2013 at 19:10

1

One of our company's products is composed of many small web-applications and a windows service, a.k.a. components, each potentially residing in a different computer. One of them is a WebForms proje...
Ottoman asked 30/9, 2013 at 17:10

7

Solved

I watched the DNR TV episode with Glenn Block and it looks like MEF would be useful for my company. I am trying to find out more information on it's strengths and weaknesses and some sample p...
Jibe asked 13/1, 2010 at 15:49

1

Solved

What is a possible reason for MEF throwing an ImportCardinalityMismatchException?
Equivalence asked 19/9, 2013 at 9:14

4

Solved

Introduction Class SessionModel is a service locator providing several services (I am going to elaborate my system architecture in the future, but for now I need to do it that way). Code I edite...
Antigorite asked 30/7, 2013 at 10:56

1

Solved

I am trying to add syntax highlighting for a custom content type based on text e.g. static class RTextContentType { public const string ContentTypeName = Constants.CONTENT_TYPE; [Export, Name(Co...
Oregon asked 23/8, 2013 at 10:7

1

While running the following Program i am getting the The composition remains unchanged. The changes were rejected because of the following error(s): The composition produced a single composition ...
Acceleration asked 1/8, 2013 at 3:4

1

Solved

I am using MEF1 and running in to an odd scenerio. This constructor is never called: [ImportingConstructor] public LogViewModuleRoot(INavigationCommandManager navigationCommandManager, ISettingsMa...
Nievelt asked 26/3, 2013 at 20:29

3

My Problem I'm trying to build an extension to Visual Studio that allows code to be edited on a per-function basis, rather than a per-file basis. I'm basically attempting to display code in a simi...
Animalcule asked 22/7, 2013 at 0:12

1

Background: I am working on a WPF application that uses the MEF framework to automatically link the necessary libraries and components for the app. With people adding their own components, the loa...
Photoreceptor asked 25/7, 2013 at 14:40

1

Solved

I'm trying to create ASP.NET MVC module by using MEF. While I have no problems so far by using MEF without MVC, when it comes to exporting Controllers I have some difficulties. I used this approa...
Orvalorvan asked 10/7, 2013 at 19:23

1

Solved

At the root of my application I have an AggregateCatalog and a CompositionContainer like so: AggregateCatalog aggregateCatalog = new AggregateCatalog(); CompositionContainer compositionContainer =...
Jetblack asked 5/6, 2013 at 14:54

© 2022 - 2024 — McMap. All rights reserved.