Mono compatible Dependency Injection Framework

2019-02-12 09:35发布

Which Dependency Injection frameworks are compatible (and tested) against the Mono 2.4.2.3 runtime (Release Notes)?

4条回答
啃猪蹄的小仙女
3楼-- · 2019-02-12 10:25

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.

查看更多
混吃等死
4楼-- · 2019-02-12 10:32

Autofac most certainly is.

查看更多
干净又极端
5楼-- · 2019-02-12 10:38

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 :)

查看更多
登录 后发表回答