문제

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top