Is Managed Addin Framework alive

2.5k views Asked by At

I need to implement solution with add-ins executed in their AppDomain. I came across MAF, which is - by description - what I needed.

However the documentaion and its CodePlex project seems to be a bit outdated, some pages in docs do not exist for "Current version" of .NET.

I also found posts about gotchas and complexity of MAF.

So I'm now not sure if I should use it or rather do all the work by myself (add-in management, loading/unloading AppDomains, etc).

Any thought and/or experience appreciated

1

There are 1 answers

3
John Koerner On BEST ANSWER

MAF is a supported piece of the .Net framework, but it hasn't received much attention in years.

Pros

  1. Supports out of process/app domain loading of Addins
  2. Supports backward compatibility for AddIns

Cons

  1. Complex (Requires 5 DLLs in the pipeline)
  2. Requires investment in tooling (You need to update/maintain your own copy of the Pipeline generation code)
  3. Hasn't received any updates in functionality since it was released
  4. There is not a lot of information on the web on best practices or issues people have run into

While there are more cons in that list, it does work and mostly does what you expect. My suggestion is to try it out and see how it works. At the end of the day, the consumers of your API are using an interface and you can always swap out the MAF layer in the future and your AddIns wouldn't need to change.