mef Questions

2

What I'm using: Visual Studio 2010 Microsoft .NET Framework 4 Prism v4 What I am trying to figure out is how to get started with Prism + MEF while maintaining the MVVM pattern. When I go into t...
Prisoner asked 9/2, 2011 at 16:39

1

Solved

We know that .NET Core (the open-source components) are only a subset of the full .NET Framework, and that ASP.NET 5 (and MVC 6) is built on .NET Core. Does this mean that Managed Extensibility Fra...
Zest asked 2/3, 2015 at 1:9

1

updated: read below in this post for a minimal solution I have some newbie questions about an MVC4 solution with plugins. I googled around a bit and found some good stuff, but it does not exactly...
Dolan asked 19/9, 2012 at 9:26

7

Solved

I recently started using Lazy throughout my application, and I was wondering if there are any obvious negative aspects that I need to take into account when using Lazy<T>? I am trying to ut...
Jacquesjacquet asked 27/9, 2011 at 10:2

3

Solved

If I have one type MyClass, register with [Export(typeof(Myclass))] attribute, and [PartCreationPolicy(CreationPolicy.Shared)] or [PartCreationPolicy(CreationPolicy.NonShared)] and later...
Bountiful asked 11/1, 2013 at 8:45

2

Solved

I've just started playing around with Managed Extensibility framework. I've got a class that's exported and a import statement: [Export(typeof(IMapViewModel))] [ExportMetadata("ID",1)] public clas...
Hoar asked 5/2, 2011 at 19:19

1

Solved

My question is pretty simple, but unfortunately I could not find any answer yet. Using MEF, I can specify some internal exports and imports in a class library assembly like that: [Export] interna...
Cotten asked 26/11, 2014 at 13:38

1

Using some tutorials on the web, I created a metadata class for my needs using the MEF in C# [MetadataAttribute] [AttributeUsage(AttributeTargets.Class)] public class ActionMetadataAttribute : Att...
Sklar asked 10/8, 2014 at 14:8

2

Solved

I am studying MEF 2. Below code throws below exception: An unhandled exception of type 'System.Composition.Hosting.CompositionFailedException' occurred in System.Composition.TypedParts.dll ...
Lardner asked 4/9, 2014 at 7:50

1

I created a VISX project, and wrote this piece of code: using Microsoft.VisualStudio.Editor; using Microsoft.VisualStudio.TextManager.Interop; using System.ComponentModel.Composition; namespace M...

1

Solved

I am trying to use the ContainerConfiguration type from the Managed Extensibility Framework (MEF). According to here, it lives in "System.Composition.TypedParts.dll" which is part of .NET Framework...
mef
Dogmatist asked 4/9, 2014 at 6:28

0

I had read all of the many posts here on Stackoverflow on how to use MVC with MEF and have links for those, what I had not found an answer to in all of the questions and searching the internet is h...
Hayfield asked 26/7, 2014 at 13:40

2

Solved

I know there have been lot of questions regarding constructor parameter injection using MEF, but mine is a bit different. I want to know that is there any way to pass different parameter values to...
Margarine asked 29/3, 2012 at 18:31

7

Solved

I've been successfully using MEF to obtain exported class instances. However, I came across a situation where I need to enumerate a set of exported derived classes without instantiating them. I've ...
Dreiser asked 11/8, 2010 at 16:46

3

Solved

I'm looking into adding a new programming language to visual sudio 2010 and I'm a little confused on the best approach to take. I've looked into the MPF and found some examples on how to do syntax...
Hemato asked 30/5, 2012 at 20:34

1

Solved

I'm working on Visual Studio 2013 Extension using MEF while trying to read Active Document Content Type and Code. Presently it only reads at Opening Time of the Document/ProjectItem in the Editor. ...
Doubtful asked 11/6, 2014 at 13:17

4

Solved

I have a MEF (Microsoft Extension Framework) application which loads some assemblies from a folder. I need to enumerate the assemblies that produced any exports for my application. One way to do ...
Trip asked 13/5, 2009 at 17:55

1

Solved

Lets say i have an interface IFileLoader and the attribute FileTypeAttribute And I implement IFileLoader in JPEGLoader with [FileType(".jpg")] Can i use MEF to load the class (JPEGLoader) that im...
Phosphatize asked 13/5, 2014 at 11:12

3

Solved

I have a simple Visual Studio extension that is built in a similar manner as the one presented in this walkthrough (using the IWpfTextViewCreationListener interface). The extension uses two colors...
Fiction asked 11/7, 2012 at 13:9

1

Solved

I'm building an WAF project. When i debug my project. I'm encounted this problem "The composition produced a single composition error. The root cause is provided below. Review the CompositionExce...
Knuckle asked 30/3, 2014 at 19:24

3

Occasionally when running my MVC4 site in VS2012 using IISExpress I get the following error and IISExpress stops: iisexpress.exe: Managed (v4.0.30319)' has exited with code -1073741816 (0xc0000008...
Denson asked 10/2, 2013 at 22:45

1

At the moment, I have a module folder configured, and all my module assemblies and their dependencies live there. I worry that in six months time, someone builds a new module, and its dependencies ...
Midwife asked 28/1, 2014 at 7:17

1

Solved

Is it possible to load an .net 4.0 application inside .net 3.5 application using containers such as MEF or MAF? I'm aware of the fact that only backward compatibility is supported in.net, will tha...
Sherrisherrie asked 19/2, 2014 at 22:19

2

Solved

I recently added MEF to an MVC/WebAPI application using a variety of resources including this SO answer How to integrate MEF with ASP.NET MVC 4 and ASP.NET Web API. While this worked for a time, I ...
Memorable asked 27/12, 2013 at 18:57

5

The MEF team keep saying it is about plug-in model. So, are we talking about UI plugins? How can we use this stuff in non-UI code? I downloaded the code and the examples are all about GUI. Am I gu...
mef
Comstock asked 26/9, 2008 at 14:25

© 2022 - 2024 — McMap. All rights reserved.