/// <summary>The configure windsor.</summary> /// <param name="configuration">The configuration.</param> public static void ConfigureWindsor(HttpConfiguration configuration) { container = new WindsorContainer(); container.Install(FromAssembly.This()); container.Kernel.Resolver.AddSubResolver(new CollectionResolver(container.Kernel, true)); var dependencyResolver = new WindsorDependencyResolver(container); configuration.DependencyResolver = dependencyResolver; }