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

New Post: Prism-MEF: Integerate LinqPad to my application as a Plug-in

Hi, i've asked this question before in patterns & practices: Prism but there was no answer so i re-ask same question again. I'm using MEF with Prism 4 in developing LOB application and i wonder if...

View Article


New Post: Issue with .net 4.5 MEF

Hi, I am new .net 4.5 MEF, and I am aware of using MEF in .net 4.0. I tried creating an application using MEF in .net 4.5 but when MEF try to create instance of the class it throws the below exception....

View Article


New Post: Using an XML Manifest

I am trying to figure out how to use an XML Manifest (e.g. contains 'paths' that can define the layout of menu items), kind of like the system in ICSharpCode.Core. I am not using ICSharpCode.Core due...

View Article

New Post: ComposeParts Exception due Multitple Metadata entries

Dear All My application uses DirectoryCatalog to import parts from third party dlls. The problem I have have is, ComposeParts fails to load every other when a single plugin developer decorates their...

View Article

New Post: Preserve Multiple Metadata Order

I have the following exported function:[Export(typeof(System.Func<object>))] [ExportMetadata("Name", "Name 1", IsMultiple = true)] [ExportMetadata("Name", "Name 2", IsMultiple = true)]...

View Article


New Post: Plugins with Common Dependencies?

Hi All, So, I have been using MEF for a little while, I've written several plugins for an app already which work very well - they all use MVVM and the resources are all injected ok so far. But... I...

View Article

New Post: Generic out of work when Use RegistrationBuilder

I would like to just use RegistrationBuilder to create parts. example:public interface IModel { String Name { get; } } public interface IRepository { } class ModelOne : IModel { public String Name {...

View Article

New Post: Temporary directory

I've just deployed an WCF service application that uses MEF to a QA environment and an issue jumped up and bit us. The security context under which the application is running must have read/write...

View Article


New Post: MEF2 with MVC4 via Microsoft.Composition

For anyone that is still trying to get MEF with MVC4 with full WebApi...

View Article


New Post: PRISM: Load by MEF new version of the same DLL.

Hello, I am using PRISM with MEF. I have a problem which I think I am not able to solve with MEF, but I am not sure. What I would like to achieve is to load by MEF the new updated version of given...

View Article

New Post: ImportConstructor in class that is being serialized/deserialized

I incorporated MEF into a desktop application in which I serialize and deserialize the object. I use the ISerializable interface to control my binary serialization. During regular object instantiation...

View Article

New Post: ImportConstructor in class that is being serialized/deserialized

You could switch to property imports and fix them up post-deserialization, but I'd be concerned about the fragility of mixing parts and serialization this way. As a rule of thumb, things with a...

View Article

New Post: ImportConstructor in class that is being serialized/deserialized

Thank you for the advice

View Article


New Post: NullReferenceException

Hi all, Seems that this post is the only one with the same problem as I have. What was the cause of this issue?

View Article

New Post: A way to delete/replace a Shared object from the container

In my PRISM application I use MEF as a container. Most of my ViewModel are Non-Shared instances, but a couple are Shared due the requeriments (being used among different views). But in certain moments...

View Article


New Post: .NET 4.5 Constructor Parameters

How do I set constructor parameters in MEF2? I assume there is a better way than changing the implementation with ImportingConstructor + Import ParamName. If not, what happens if I don't have access to...

View Article

New Post: MEF2 with MVC4 via Microsoft.Composition

Nick provided the base for what is now WebApiContrib.IoC.Mef for use with Web API, as well. So if you want Web API support, take a look at that package.

View Article


New Post: Object lifetime of NonShared IDisposable parts

I recomment everyone with this issue to look at this blog post with the modification from my comment.http://toreaurstad.blogspot.ca/2012/09/freeing-up-memory-used-by-mef.html

View Article

New Post: MEF RegistrationBuilder in .NET 4.0

I could really use and the new RegistrationBuilder from MEF2 in some .NET 4.0 applications. Is the code in the repository stable enough for me to build and use in my projects? Has anyone else tried...

View Article

New Post: Defining Scope in MEF with CompositionScopeDefinition

I'm having trouble using CompositionScopeDefinition to define scope for my exports. I have seen the code on the BCL blog and its a very simple example. In my example I have an existing AggregateCatalog...

View Article
Browsing all 265 articles
Browse latest View live


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