创建控制器非常耗时
有没有办法变得更快?
protected override IController GetControllerInstance(RequestContext requestContext, Type controllerType)
{
return ((controllerType != null) ? this._iocManager.Resolve<IController>(controllerType) : base.GetControllerInstance(requestContext, controllerType));
}
谢谢!