7
votes

I'm looking for a list of IoC Containers that support Silverlight. I know that Unity and Ninject work with Silverlight, but I haven't found any information that suggests that other well known containers, like StructureMap, Castle Windsor or Autofac, support Silverlight.

Has anyone used these, or other, containers or compared them with the Silverlight platform in mind?

2
There's a plan to port Castle Windsor to Silverlight. However none of the core committers is working in Silverlight so we're looking for people who would like to testdrive it, and report issues back. If you're interested drop us a line on Castle Users group: groups.google.com/group/castle-project-usersKrzysztof Kozmic

2 Answers

4
votes

List of Silverlight supported IoC containers:
- Ayende's "Building an IoC container in 15 seconds"
- Castle Windsor - You can grab the binary from the RhinoMocks for Silverlight download.
- AutoFac
- Ninject
- Unity

StructureMap and Spring.Net currently do not support Silverlight with shipping binaries.

2
votes

Since version 2.1.1, Castle Windsor does.