maf

Choosing between MEF and MAF (System.AddIn)

The Managed Extensibility Framework (MEF) and Managed AddIn Framework (MAF, aka System.AddIn) seem to accomplish very similar tasks. According to this Stack Overflow question, Is MEF a replacement for System.Addin?, you can even use both at the same time. When would you choose to use one vs. the other? Under what circumstances would yo...

Can AddIns in MAF (System.AddIn) have constructor parameters?

I need to pass configuration settings to an AddIn created using the Managed AddIn Framework (MAF, aka System.AddIn). Can a put a settings parameter in the AddIn's constructor? Another option would be to create an Initialize() method, but then I have to remember to call it before doing any work with the AddIn. ...

C# Open Source that makes use of System.Addin (MAF)?

Just like to see how others make use of MAF: What are to define as contracts? Using IoC and MAF together? How do addins communicate with each other? How does MAF help building a winforms application? ... ...

Can you shadow copy MAF Addins in ASP.NET

Is it possible to configure MAF in an ASP.NET such a way that it loads shadow copies of an addin assembly? I'd like the ability to update an addin without manually restarting the web server. ...

Plugin Framework - can there be too many addin assemblies?

Hi, The product I'm working on needs to be built in such a way that we have a quote engine driven by a pluggable framework. We are currently thinking of using MAF, so we can leverage separation of the host and addin interfaces for versioning. However, I'm concerned that we'd have lots of assemblies, it's likely that we'd have one for ...

What is the fasted method to pass messages between different processes in C#?

I have a bunch of AddIns loaded by the Microsoft AddIn Framework all in separate processes. Packets come in from the one side (also an AddIn) then get send to a controller (also an AddIn) that coordinates the process of the packet. The controller then sends the packet to multiple other AddIns one by one, depending on the content and the...

System.AddIn (Maf) Interconnection between addins

Hey, I want to use MAF in my project because I need a robust add-in architecture. Yet I come to a point where I need to call methods of an add-in from an other add-in. How can I achieve this with a flexible manner in which some add-ins should have dependencies over other add-ins or just use other add-ins' functionality when available. ...

Is System.AddIn mostly about making it easier to use Remoting or does it make it harder to do so?

It takes at least 7 assemblies and restricting my AddIn's data model to data types that remoting can deal with before the appdomain isolation features begin to work. It is so complex! The System.AddIn teams blog implies to me they were trying to re-create a mental model of COM, a model I never understood very well in the first place and...

MAF (system.AddIn) plugin's UI overlaps any host side visual element

Hello, I'm having trouble with a WPF visual tree. I'd like the children of any container to be under any visual element that is above their container, like they should. Link to image displaying problem Both red zone and green zone are children of grey zone. <Grid Name="Grey"> <Grid Name="Red">...</Grid> <Grid Name="Green">......

C# WPF MAF Add-In interaction between themselves

Hi, I would like create a very simple Paint application using MAF on WPF. The Add Ins I would like to create are: Main Image Processor - Shown the current paint and receive inputs from the user Tool Box - The user can select some types of drawings tools Layers - The user can select the layers to display, delete layers and select on ...

MAF vs. MEF vs. Prism

I watching some tutorials for MEF or Prism with Silverlight but was also doing some MAF work (System.AddIn) on the side and thought that might work also. I see that Prism and MEF are pretty much the same thing but Prism having the event aggregator. Does anybody have thoughts on how well MAF works with Silverlight? ...

Using MAF with Prism or CAL

Hi I am in processes of migrating my CAB application to Prism. And facing a specific request of having all the modules hosted in the shell be in different Appdomain. Was thinking of using MAF to achive this... Can any one give me some heads up on how to go about it.. Thanks in advance Vikram ...

Own extensibility layer or MEF/MAF?

For those that work with application extensibility in .NET, what do you prefer doing - creating your own extensibility layer or using MEF (Managed Extensibility Framework) or MAF (Managed Add-in Framework)? So far, I've used both ways of implementing application extensibility and I like MEF for the fact that it makes it easier to load e...

Deploying ClickOnce Application With System.AddIn Support

Hi All, I have a ClickOnce app that I would like to have MAF (System.AddIn) support with. I have learned about the System.AddIn Pipeline structure and such in a local context, but when it comes to ClickOnce, I can't find any information regarding such a feat. Do I need to maintain the AddIn pipeline still in a ClicKOnce environment? ...

Moving data across the appdomain with good performance?

A little background I'm working on an .net application that's uses plugins heavily, the application can request data from the plugins that is then sent back and displayed by the application. First I implemented the plugin framework in MEF but feel that it was a bit limited for my purposes, I wanted to be able to isolate plugins and hav...

Programming with MAF (and MEF) on Mono

Hi Stackies, I am curruntly working as an internship in a company who want to try to make software for the linux platform. Since they are a .net minded company, they want me to lookin to mono. I kinda have to look if it stable for their applications and server apps. I am now studieing the MEF and MAF ( Managed AddIn Framework ) framewo...

Problem unloading AddIns using AddInController

I am using System.AddIn to load and unload extra add-ins into my WCF application. The application gets it's load/unload command from another app, then it calls the following code. Dim controller As AddInController = AddInController.GetAddInController(targetAddin) controller.Shutdown() In a plain WPF test harness, this code works as exp...

Permission Denied - Cross process UI using .NET Remoting and FrameworkElementAdapters

Hi folks, My question is very similar, if not a replica of this one. Irritatingly, the 'answer' doesn't give me a whole lot to work with and frankly I'm at a loose end. The problem should be fairly obvious. I want to pass WPF elements between processes for a pluggable application framework without having to use Managed AddIn Framework....

Dispose of AddIns created using MAF (System.AddIn)

Hi all, Does anyone know how to dispose of AddIns created using System.AddIn. All the examples online seem to show how to easily load and use an addin, but none show how to dispose of them once they're alive. My Problem is I create addins in new processes, and these processes never get garbage collected, obviously a problem. Below is ...