AutoFac 生命周期管理
public void ConfigureContainer(ContainerBuilder containerBuilder) { #region 指定控制器由AutoFac 进行实例获取 var assembly = this.GetType().GetTypeInfo().Assembly; var builder = new ContainerBuilder(); //新建Mvc管..