views:

82

answers:

2

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

A: 

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)

Yauheni Sivukha
@Sivukha -- Thanks, will check it out.
Rox Wen
+2  A: 

Autofac supports both 3.5 and 4.0 Client Profile.

Nicholas Blumhardt