开发者

Mono compatible Dependency Injection Framework

Which Dependency Injection frameworks are compa开发者_运维技巧tible (and tested) against the Mono 2.4.2.3 runtime (Release Notes)?


Castle Windsor is.


This SO question relates to using NHibernate with MONO 2.4:

ASP.NET MVC 1 and 2 on Mono 2.4 with Fluent NHibernate

I have used Unity with Mono 2.4.2 successfully before.

Hope this helps :)


Autofac most certainly is.


Worth noting that over 3 years down the line I'm yet to come across an IoC Container that doesn't work on Mono.

Note: Reflection based approaches to registration will not likely work on AOT compilation based platforms such as iOS via MonoTouch.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜