Question

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

Was it helpful?

Solution

Autofac supports both 3.5 and 4.0 Client Profile.

OTHER TIPS

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)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top