IoC/DI Container that supports Compact Framework

主宰稳场 提交于 2019-12-08 18:01:12

问题


Is their any IoC controllers available that will work on .NET Compact Framework?


回答1:


  • http://code.google.com/p/compactcontainer/
  • http://ninject.org/



回答2:


The OpenNETCF IoC framework supports the Compact Framework (as a first-class citizen), the full desktop framework, Mono for Android, MonoTouch and Windows Phone. It's also still active, with updates and fixes still being applied which can't be said about all of the other "CF supporting" frameworks.




回答3:


Ninject is a dependency injection framework that has a compact framework version.

However, in a constrained environment I would avoid using a framework and implement the inversion of control principles in my code instead.




回答4:


Here's a new one: Funq. Also check out the making-of screencasts.



来源:https://stackoverflow.com/questions/446033/ioc-di-container-that-supports-compact-framework

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!