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)
加载中,请稍侯......
精彩评论