Castle.Windsor 在MVC与WebApi中如何进行IOC
Castle.Windsor在Web.Mvc中使用1.建立Controller构造器工厂 public class WindsorControllerFactory:DefaultControllerFactory { private readonly IKernel kernel; public WindsorControllerFactory(IK