I have a annoying build process from using System.Addins API with ClickOnce. Using System.Addins requires a specific directory structure, and the main project does not reference the adapters, view, and contract directly, which doesn't work well with the ClickOnce architechture.
The annoying part with the build process is that I have to ...
I am using System.Addin to create plugins for a small portion of my application. I have two different plugins at the moment, and they are both detected and initialized correctly. I can even copy & paste the plugin folders that are created and I will see them appear as well.
Everything works great when I'm playing around in the debug a...
We are looking at creating a WPF UI that runs across multiple AppDomains. One of the app domains would run the application while the remaining AppDomains would host a series of user controls and logic. The idea, of course, is to sandbox these User Controls and the logic away from the main application.
Here is an example of doing this us...
Is the System.AddIn infrastructure safe to use for a web service? Since it does write stuff out to the file system, is it really only intended for windows applications?
...
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...
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.
...
Hello,
I have a question about use AddIn framework, provided by .NET Framework (currently use 3.5 SP1) implemented in System.AddIn namespace. I build a prototype with simple AddIn. This AddIn is instantiated in business logic of WCF Service.
Implementation of business logic (only necessary code is shown):
internal class BusinessLayer...
In .net, one can create an AddIn within a new AppDomain. The creation of new AppDomains is nothing new, and one can use an AppDomainSetup class to specify all the startup parameters (such as where to find the app.config) of the newly created AppDomain.
However, when activating an AddInToken using a new AddInProcess (which specifies that ...
Does anyone know about any articles/examples of using System.AddIn with ASP.NET and/or ASP.NET MVC applications?
I'm looking to use System.AddIn to make an ASP.NET MVC application extensible.
...
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.
...
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...
I am working on a WPF application that is using System.AddIn to solve a memory leak issue we were having with a Windows Forms based control that was wrapped in a WindowsFormsHost control. The add-in is used to load and unload the Windows Forms based control as need to avoid the overhead of the WindowsFormsHost, which will hang around unt...
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">......
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...
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 ...