开发者

Inversion of control on Compact Framework 2.0

开发者 https://www.devze.com 2023-03-27 14:06 出处:网络
I\'ve been \"googling\" around about inversion of control on Compact Framework but most of solutions will work 开发者_如何学Con 3.5 version.

I've been "googling" around about inversion of control on Compact Framework but most of solutions will work 开发者_如何学Con 3.5 version.

Summarizing: I need a light-weight, simple inversion of control container working on Compact Framework 2.0.

Thank you in advance.


As it seems, the current versions of most IoC containers don't support old versions of the .net framework (and the Compact Framework) anymore.

You might get away with using older releases.
For example, the Ninject download page says that Ninject 1.5 works on CF 2.0:

Older Version (version 1.5)

Support for versions of the .NET Framework prior to 3.5 was discontinued in Ninject 2.0. If you need backwards compatibility, you can still use Ninject 1.5. However, this version is only receiving critical bug fixes, and all new development is being done on the Ninject 2.0 codebase. Please only use this if you need to!

Binaries:

  • .NET Framework 3.5
  • .NET Framework 2.0
  • .NET Compact Framework 3.5
  • .NET Compact Framework 2.0
  • Silverlight 2.0
  • Silverlight 3.0
  • Mono 2.0


There is also another decent solution: OpenNETCF.IoC Framework on codeplex

0

精彩评论

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

关注公众号