开发者

Programming with MAF (and MEF) on Mono

开发者 https://www.devze.com 2023-01-15 21:31 出处:网络
I am currently working as an internship in a company who wants to make software for the linux platform. Since they are a .Net minded company, they want me to look into mono.

I am currently working as an internship in a company who wants to make software for the linux platform. Since they are a .Net minded company, they want me to look into mono. I kinda have to look if it is stable for their applications and server apps.

I am now studying the MEF and MAF ( Managed AddIn Framework ) frameworks in mono.

Does anyone have some experience in building applications with the MEF and MAF framework in MONO? Did you experie开发者_Python百科nce some problems on mono etc? (and solutions are welcome (: )

I tested some easy tutorial code of MEF and that worked fine with mono (although I didn't use all functions they give me). About MAF I didn't find that much that could help me. Any links that could help me? To be more specific, I wonder if there exists some posts about MONO & MAF if it works or not.

I already thank you for reading my question,

Benjamin


MEF works on Mono, once you apply 2 patches so that it works on case-sensitive file systems. Mono 2.8 will ship with MEF in the next few weeks: http://mono-project.com/Release_Notes_Mono_2.8.

I use MEF for Pinta on .Net and Mono: http://github.com/jpobst/Pinta. My usage is trivial, but it works great.

I do not know anything about MAF.


I am pretty sure MAF is not and will not be available on Mono.

The source code to MEF was released with a license that allowed it to be incorporated into Mono. The source code to MAF has not been released at all as far as I know, and I don't think there is any interest in rewriting it for Mono.


The equivalent of MAF in Mono is Mono.Addins. I think it's not quite the same API as MAF, but it provides the same functionality.


An open source implementation of MAF can be found here System.AddIn Its not 100% feature complete but can be used on Linux, with mono, running addins in separate processes.

0

精彩评论

暂无评论...
验证码 换一张
取 消