开发者

IOC Container that can target .NET Framework Client Profile?

开发者 https://www.devze.com 2023-01-03 12:01 出处:网络
On our current WPF project, we\'ve been performing dependency injection using the Ninject IOC tool. We want to target the .NET Framework Client Profile for a better download/install experience.The pr

On our current WPF project, we've been performing dependency injection using the Ninject IOC tool.

We want to target the .NET Framework Client Profile for a better download/install experience. The problem is that Ninject seems to reference libarari开发者_C百科es such as System.Web which are NOT in the Client Profile.

Can anyone recommend an IOC container that can target the .NET Framework Client Profile (3.5 or 4) ?


Autofac supports both 3.5 and 4.0 Client Profile.


Try really lightweight and simple Funq DI container. It was initially created for the Mobile Application Blocks, so I believe it would be suitable for your purposes. (or at least idea of DI container on lambdas)

0

精彩评论

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